GetDepth(in HierarchyNode)
Determines the depth of a node.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: Unity.Hierarchy
- Assembly: UnityEngine.HierarchyCoreModule
GetDepth(HierarchyNode)
public int GetDepth(in HierarchyNode node)
Parameters
The hierarchy node.
Returns
Type | Description |
|---|---|
| int | The depth of the hierarchy node. |