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

AcceptChild Determines if a node type handler can accept a specified node as a child.
AcceptParent Determines if a node type handler can accept a specified node as a parent.
Dispose Disposes this hierarchy node type handler to free up resources.
GetNodeType Retrieves the hierarchy node type for this hierarchy node type handler.
GetNodeTypeName Retrieves the hierarchy node type name for 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.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961