기술 자료

Unity Engine

Unity Engine

GetDepth(in HierarchyNode)

Determines the depth of a node.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

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

GetDepth(HierarchyNode)

public int GetDepth(in HierarchyNode node)

Parameters

The hierarchy node.

Returns

Type

Description

intThe depth of the hierarchy node.