how to get all child gameobject in unity UI code example Example: get all child gameObject of gameObject C# foreach (Transform child in transform)