Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

unity get child


GameObject originalGameObject = GameObject.Find("MainObj");
GameObject child = originalGameObject.transform.GetChild(0).gameObject;

Source by coders911.org #
 
PREVIOUS NEXT
Tagged: #unity #child
ADD COMMENT
Topic
Name
9+7 =