GetDepth(in HierarchyNode)
Determines the depth of a node.
阅读时间1 分钟最后更新于 1 个月前
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. |