iterate through a gameobject in unity

117

iterate through a gameobject in unity -

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

Comments

Submit
0 Comments