HierarchyNodeTypeHandlerBase

class in Unity.Hierarchy

/

Implemented in:UnityEngine.HierarchyCoreModule

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