Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

Hierarchy.GetNodeTypeHandlerBase

Returns

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

Description

Gets a hierarchy node type handler instance from this hierarchy.


Declaration

public Unity.Hierarchy.HierarchyNodeTypeHandlerBase GetNodeTypeHandlerBase(ref Unity.Hierarchy.HierarchyNode node);

Returns

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

Description

Gets the node type handler instance for the specified node from this hierarchy.


Declaration

public Unity.Hierarchy.HierarchyNodeTypeHandlerBase GetNodeTypeHandlerBase(string nodeTypeName);

Parameters

nodeTypeName The node type name.

Returns

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

Description

Gets the node type handler instance for the specified node type name from this hierarchy.