Method GetChildGameObjects
GetChildGameObjects(GameObject, List<GameObject>)
Get the direct children GameObjects of this GameObject.
Declaration
public static void GetChildGameObjects(this GameObject go, List<GameObject> childGameObjects)
Parameters
Type | Name | Description |
---|---|---|
GameObject | go | The parent GameObject that we will want to get the child GameObjects on. |
List<GameObject> | childGameObjects | The direct children of a GameObject. |