unity cycle children

C#
for(int i = 0; i < gameobject.transform.GetChildCount(); i++)
{
   Transform Children = gameobject.transform.GetChild(i);
}
Source

Also in C#: