Version: Unity 6.5 Alpha (6000.5)
LanguageEnglish
  • C#

HierarchyNodeTypeHandler

class in Unity.Hierarchy

/

Inherits from:Unity.Hierarchy.HierarchyNodeTypeHandlerBase

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Provides a base class for hierarchy node type handlers that manage how specific node types are displayed and interact with HierarchyView instances.

Protected 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.

Inherited Members

Properties

PropertyDescription
CommandList Get the HierarchyCommandList associated with this handler.
Hierarchy Get the Hierarchy owning this handler.

Public Methods

MethodDescription
Dispose Disposes this hierarchy node type handler to free up resources in the derived class.
GetDefaultNodeFlags Get the default value used to initialize a hierarchy node flags.
GetNodeHashCode Gets the hash code for the specified hierarchy node.
GetNodeType Retrieves the hierarchy node type for this hierarchy node type handler.
GetNodeTypeName Get the type name of this hierarchy node type handler.
SearchMatch Determines if a node matches the search query.

Protected Methods

MethodDescription
Initialize Initializes this hierarchy node type handler.
SearchBegin Called when a new search query begins.
SearchEnd Called when a search query ends.
ViewModelPostUpdate Called after the HierarchyViewModel finishes being updated.