Version: Unity 6.4 (6000.4)
LanguageEnglish
  • C#
Method group is Obsolete

Hierarchy.RegisterNodeTypeHandler

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

Obsolete RegisterNodeTypeHandler has been renamed GetOrCreateNodeTypeHandler.
Upgrade to GetOrCreateNodeTypeHandler<T>

Declaration

public T RegisterNodeTypeHandler();

Returns

T The hierarchy node type handler instance for that type.

Description

Registers a hierarchy node type handler for this hierarchy.

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