Is there a good way to access a parent of a parent OR a child of a child?
…without doing it recursively? I mean is there a function like getHighestParent() or something?
If there is, can you reply with C#?
much appreciated
Is there a good way to access a parent of a parent OR a child of a child?
…without doing it recursively? I mean is there a function like getHighestParent() or something?
If there is, can you reply with C#?
much appreciated
Transform.root.
Transform.Find will traverse the hierarchy, looking for children with the specified name.