HierarchyExtensions
Provides extension methods for Hierarchy to access and enumerate node type handlers.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Class
- Namespace: Unity.Hierarchy
- Assembly: UnityEngine.HierarchyModule
public static class HierarchyExtensions
Static Methods
Method | Description |
|---|---|
| EnumerateNodeTypeHandlers | Enumerates all the HierarchyNodeTypeHandler instances used by this hierarchy. |
| GetEntityId | Get the entity id corresponding to the given hierarchy node. |
| GetEntityIds | Get the entity ids corresponding to the given hierarchy nodes. |
| GetNode | Get the hierarchy node corresponding to the given entity id. |
| GetNodes | Get the hierarchy nodes corresponding to the given entity ids. |
| GetNodeTypeHandler | Gets the HierarchyNodeTypeHandler instance for the specified node type name from this hierarchy. |