unity iterate all child objects

106

unity iterate all child objects -

foreach(Transform child in transform)
{
    Something(child.gameObject);
}

Comments

Submit
0 Comments