GetParent(in HierarchyNode)
Gets the parent of a hierarchy node.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: Unity.Hierarchy
- Assembly: UnityEngine.HierarchyCoreModule
GetParent(HierarchyNode)
public HierarchyNode GetParent(in HierarchyNode node)
Parameters
The hierarchy node.
Returns
Type | Description |
|---|---|
| HierarchyNode | A hierarchy node. |