Watashi ga seigi da - L
Friday, December 22, 2017
Unity: Access child of a gameobject
GameObject ChildGameObject = ParentGameObject.transform.GetChild(i).gameObject;
where i is the index of the child transform.
Source:
https://answers.unity.com/questions/464616/access-child-of-a-gameobject.html
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment