기술 자료

Unity Engine

Unity Engine

IndexOf(in HierarchyNode)

Gets the zero-based index of a specified node.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

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

IndexOf(HierarchyNode)

public int IndexOf(in HierarchyNode node)

Parameters

The hierarchy node.

Returns

Type

Description

intA zero-based index of the node if found, and -1 otherwise.