기술 자료

Unity Engine

Download Unity

Unity Engine

IndexOf(in HierarchyNode)

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

Definition

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.