HierarchyNodeTypeHandler
Provides a base class for hierarchy node type handlers that manage how specific node types are displayed and interact with HierarchyView instances.
Read time 2 minutesLast updated 5 days ago
Definition
- Type: Class
- Namespace: Unity.Hierarchy
- Assembly: UnityEngine.HierarchyModule
- Inherits from: HierarchyNodeTypeHandlerBase
public abstract class HierarchyNodeTypeHandler : HierarchyNodeTypeHandlerBase
Constructors
Constructor | Description |
|---|---|
| HierarchyNodeTypeHandler() | Creates a new HierarchyNodeTypeHandler. |
Methods
Method | Description |
|---|---|
| OnBindItem | Called whenever a HierarchyViewItem is bound to a HierarchyView. Typically used to set up the item with the necessary data and styles. |
| OnBindView | Called when the HierarchyNodeTypeHandler is bound to a HierarchyView. |
| OnUnbindItem | Called whenever a HierarchyViewItem is unbound from a HierarchyView. |
| OnUnbindView | Called when the HierarchyNodeTypeHandler is unbound from a HierarchyView. |