iterate through all the child obejects c++ code example
Example: unity cycle children
for(int i = 0; i < gameobject.transform.GetChildCount(); i++)
{
Transform Children = gameobject.transform.GetChild(i);
}
for(int i = 0; i < gameobject.transform.GetChildCount(); i++)
{
Transform Children = gameobject.transform.GetChild(i);
}