Internal: Initializes a new Child collection.
Add child, e.g. sceneComponent.children.add(child: Entity); The child can only be added to one parent.
Child entity to add
Gets the child Entity at the given index, allowing for positive and negative integers.
The index (position) of the array element to be returned. Supports relative indexing from the end of the array when passed a negative index; i.e. if a negative number is used, the element returned will be found by counting back from the end of the array.
The element in the array matching the given index. Undefined if outside.
Remove all child entities. E.g. sceneComponent.children.clear()
Internal: Add All children, called by Bridge.GetChildren
New set of children.
Remove child, sceneComponent.children.remove(child: Entity);
Child entity to remove
Class handling collection of children, e.g. in SceneComponent.children. Will keep children Entities in sync with Cogs engine.