Closed laurentopia closed 1 month ago
GetComponentInChildren works tho
and [Required] works so the bug seems to be of parcouring the hierarchy upwards
Hi,
Sorry it's not well documented: GetComponentInParent
, is different from Unity's build-in one.
Try GetComponentInParents instead
ohhhhh i get it! thanks :D
I thought it was a base vs derived thing but when i switched to the derived class I saw that it didn't work at all and when I set it by hand: so i verified the version number: