Documentation

Unity Engine

Unity Engine

RegisterNodeTypeHandler<T>()

Registers a hierarchy node type handler for this hierarchy.
Read time 1 minuteLast updated 2 months ago

Definition

  • Type: Method
  • Namespace: Unity.Hierarchy
  • Assembly: UnityEngine.HierarchyCoreModule
Warning
Deprecated. RegisterNodeTypeHandler has been renamed GetOrCreateNodeTypeHandler
public T RegisterNodeTypeHandler<T>() where T : HierarchyNodeTypeHandlerBase

Returns

Type

Description

TThe hierarchy node type handler instance for that type.

Remarks

If a hierarchy node type handler with that type is already registered, the same instance is returned.