Version: Unity 6.5 Beta (6000.5)
LanguageEnglish
  • C#

HierarchyExtensions

class in Unity.Hierarchy

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

Description

Provides extension methods for Hierarchy.Hierarchy to access and enumerate node type handlers.

Static Methods

Method Description
EnumerateNodeTypeHandlers Enumerates all the HierarchyNodeTypeHandler instances used by this hierarchy.
GetEntityId Get the entity id corresponding to the given hierarchy node.
GetEntityIds Get the entity ids corresponding to the given hierarchy nodes.
GetNode Get the hierarchy node corresponding to the given entity id.
GetNodes Get the hierarchy nodes corresponding to the given entity ids.
GetNodeTypeHandler Gets a HierarchyNodeTypeHandler instance from this hierarchy.