Answers for "unity how to get child"

C#
8

unity access child

// To acces a child of a gameObject use the combination below
parentGameObject.transform.GetChild(0).gameObject
Posted by: Guest on February-20-2020
14

unity get child

GameObject Child;
Child = transform.GetChild(0).gameObject;
Posted by: Guest on February-21-2020

Code answers related to "unity how to get child"

C# Answers by Framework

Browse Popular Code Answers by Language