title: Get All children, children of children in Unity3d
body: <p>So far i have tried this  to get all children of the object but it is only brings two child object. Not all child of the child. how do i get all and loop through to get specific name object</p>
  
  <pre><code>Transform[] objChild = gameObject.transform.GetComponentsInChildren&lt;Transform&gt;();
  for (var i = 0; i &lt; objChild.Length; i++)
  {
      objWheel.Add(objChild[i].gameObject.transform.GetChild(i).gameObject);
      objWheelAnimation.Add(objChild[i].gameObject.transform.GetChild(i).GetComponent&lt;Animation&gt;());
      if (objChild[i].gameObject.name.Contains("Wheel Rotation"))
      {               
      }
  }
  </code></pre>