Index order of GetChild

I can’t seem to find any documentation on transform.GetChild — Is there none?

Alternatively, can anyone tell me what order it returns children in?

The reference seems to have been removed for some reason…

I normally use this in conjunction with child count. Then you can run a for loop to get the specific child you want from the list of available children.

for(var i:int=0;i<transform.childCount;i++)
{
    if(transform.GetChild(i).name=="Arm")arm=transform.GetChild(i);
}

or alternatively you can use

for(var child:Transform in transform)
{
    if(child.name=="Arm")arm=child;
}