| Parameter | Description |
|---|---|
| hierarchy | The hierarchy. |
| entityId | The entity id. |
HierarchyNode The hierarchy node.
Get the hierarchy node corresponding to the given entity id.
This method will loop through all Unity.Hierarchy.IHierarchyEntityIdConverter handlers and return the first valid hierarchy node. It is more efficient to call Unity.Hierarchy.IHierarchyEntityIdConverter.GetNodes when multiple entity ids need to be converted.