Despite much searching (forums, references) I could not find a method that returns the Child GameObject of a Parent GameObject. I can get child components and transforms, just not GameObjects. I can find child GameObjects from the root, but that requires every child to be uniquely named. Hence, I felt compelled to create this method:
Never use gameobjects!
It’s rare to use gameobjects, use transforms instead!
and I gunaratee u with Transform.Parent function, you’ll solve it within no time.
I have the exact same question and up until now I would have to implement the method suggested in the question. How do transforms relate to the child gameobjects of a gameobject? If I have my parent, how do I go about getting a child of that parent?