Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

how to get an child of an gameobject

// By Name
GameObject Child = GameObjectsTransform.Find("NameOfChild").gameObject

// By index
GameObject Child = GameObjectsTransform.GetChild(The child index).gameObject
 
PREVIOUS NEXT
Tagged: #child #gameobject
ADD COMMENT
Topic
Name
7+7 =