GetChildrenCount(in HierarchyNode)
Gets the number of child nodes that a hierarchy node has.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: Unity.Hierarchy
- Assembly: UnityEngine.HierarchyCoreModule
GetChildrenCount(HierarchyNode)
public int GetChildrenCount(in HierarchyNode node)
Parameters
The hierarchy node.
Returns
Type | Description |
|---|---|
| int | The number of children. |