GetComponentInParent or GetComponentInChildren sometimes "doesn't work" because gameObjects are deactivated, check out this tip to get the objects even if they aren't in the scene or deactivated o/
29 июн 2024