GetChild(int)
Gets the child entity at the specified index.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
public Entity GetChild(int index)
Parameters
The zero-based index of the child.
Returns
Type | Description |
|---|---|
| Entity | The child Entity, or Entity.Null if invalid. |
Remarks
Returns Entity.Null if the index is out of bounds or this transform is not part of a hierarchy.