Version: 2023.2
LanguageEnglish
  • C#

HierarchyNodeTypeHandlerBase

class in Unity.Hierarchy

/

Implemented in:UnityEngine.HierarchyCoreModule

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.

Properties

Hierarchy Get the Hierarchy owning this handler.

Public Methods

Dispose Disposes this hierarchy node type handler to free up resources.
GetDefaultNodeFlags Get the default value used to initialize a hierarchy node flags.
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

ChangesPending Callback that determines if pending changes from a registered node type handler need to be applied to the hierarchy. When the hierarchy is updated, ChangesPending is called on all registered node ype handlers. If they return true, then IntegrateChanges is called on them. If they return false, then IntegrateChanges is not called on them.
IntegrateChanges Callback that determines if changes from an update need to be integrated into the hierarchy. IntegrateChanges is called after ChangesPending returns true. When the hierarchy is updated, ChangesPending is called on all registered node ype handlers. If they return true, then IntegrateChanges is called on them. If they return false, then IntegrateChanges is not called on them.
SearchBegin Called when a new search query begins.
SearchEnd Called when a search query ends.