how to get last child of gameobject in unity

125

how to get last child of gameobject in unity -

lastChild = transform.GetChild(transform.childCount - 1);

Comments

Submit
0 Comments