Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


HierarchyExtensions

Provides extension methods for Hierarchy to access and enumerate node type handlers.
Read time 1 minuteLast updated 11 days ago

Definition

  • Type: Class
  • Namespace: Unity.Hierarchy
  • Assembly: UnityEngine.HierarchyModule
public static class HierarchyExtensions

Static Methods

Method

Description

EnumerateNodeTypeHandlersEnumerates all the HierarchyNodeTypeHandler instances used by this hierarchy.
GetEntityIdGet the entity id corresponding to the given hierarchy node.
GetEntityIdsGet the entity ids corresponding to the given hierarchy nodes.
GetNodeGet the hierarchy node corresponding to the given entity id.
GetNodesGet the hierarchy nodes corresponding to the given entity ids.
GetNodeTypeHandlerGets the HierarchyNodeTypeHandler instance for the specified node type name from this hierarchy.