Unity uses transform.GetChild(childNum)
as opposed to gameObject.GetChild(childNum)
.
I understand that every GameObject in Unity has a Transform component and the function returns the Transform of the child, but wouldn't it be more logical to use the GameObject class to get a child as it refers to the actual GameObject in the scene or project and not just a component? Why is the Transform used for finding hierarchical information?