unity reference a child object by index code example
Example: unity how to get a child from a gameobject
//For unity engine
GameObject.transform.GetChild(The child index).transform;
//For unity engine
GameObject.transform.GetChild(The child index).transform;