how yo get the children objects in unity c# code example
Example 1: unity get child
GameObject Child;
Child = transform.GetChild(0).gameObject;
Example 2: get all child gameObject of gameObject C#
foreach (Transform child in transform)
GameObject Child;
Child = transform.GetChild(0).gameObject;
foreach (Transform child in transform)