Documentation

Unity Engine

Download Unity

Unity Engine

GetNodeType

Gets the type of the specified hierarchy node.
Read time 1 minuteLast updated 2 months ago

Definition

  • Type: Method
  • Namespace: Unity.Hierarchy
  • Assembly: UnityEngine.HierarchyCoreModule

GetNodeType<T>()

Gets the type of the specified hierarchy node.
public HierarchyNodeType GetNodeType<T>() where T : HierarchyNodeTypeHandlerBase

Returns

Type

Description

HierarchyNodeTypeThe hierarchy node type.

GetNodeType(HierarchyNode)

Retrieve the hierarchy node type for the specified node.
public HierarchyNodeType GetNodeType(in HierarchyNode node)

Parameters

The hierarchy node.

Returns

Type

Description

HierarchyNodeTypeThe hierarchy node type.