GetChildCount()
Gets the number of direct children of this transform.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
public int GetChildCount()
Returns
Type | Description |
|---|---|
| int | The number of direct children. |
Remarks
Returns 0 if this transform is not currently part of a hierarchy.