| Parameter | Description |
|---|---|
| entityId | The EntityId of the GameObject to get the Hierarchy.HierarchyNode for. |
HierarchyNode The Hierarchy.HierarchyNode that corresponds to the specified EntityId.
Gets or creates the Hierarchy.HierarchyNode that corresponds to the specified GameObjectEntityId.
If the node doesn't exist, this method returns a node that represents the GameObject but that doesn't yet exist in the hierarchy. To query the Hierarchy.Hierarchy about this node, update the hierarchy first.
| Parameter | Description |
|---|---|
| gameObject | The GameObject to get the Hierarchy.HierarchyNode for. |
HierarchyNode The Hierarchy.HierarchyNode that corresponds to the specified GameObject.
Gets or creates the Hierarchy.HierarchyNode that corresponds to the specified GameObject.
If the node doesn't exist, this method returns a node that represents the GameObject but that doesn't yet exist in the Hierarchy. To query the Hierarchy.Hierarchy about this node, update the hierarchy first.