ドキュメント

Unity Engine

Unity Engine

GetNodeTypeHandlerBase

Gets a hierarchy node type handler instance from this hierarchy.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: Unity.Hierarchy
  • Assembly: UnityEngine.HierarchyCoreModule

GetNodeTypeHandlerBase<T>()

Gets a hierarchy node type handler instance from this hierarchy.
public T GetNodeTypeHandlerBase<T>() where T : HierarchyNodeTypeHandlerBase

Returns

Type

Description

TThe hierarchy node type handler instance for that type if already created,
null
otherwise.

GetNodeTypeHandlerBase(HierarchyNode)

Gets the node type handler instance for the specified node from this hierarchy.
public HierarchyNodeTypeHandlerBase GetNodeTypeHandlerBase(in HierarchyNode node)

Parameters

Returns

Type

Description

HierarchyNodeTypeHandlerBaseIf the node has a type, the hierarchy node type handler base instance,
null
otherwise.

GetNodeTypeHandlerBase(string)

Gets the node type handler instance for the specified node type name from this hierarchy.
public HierarchyNodeTypeHandlerBase GetNodeTypeHandlerBase(string nodeTypeName)

Parameters

nodeTypeName

The node type name.

Returns

Type

Description

HierarchyNodeTypeHandlerBaseIf the node type name matches a registered node type handler, the hierarchy node type handler base instance,
null
otherwise.