기술 자료

Unity Engine

Download Unity

Unity Engine

GetChildIndex(in HierarchyNode)

Gets the index of a hierarchy node in its parent's children list.
읽는 시간 1분최근 업데이트: 3시간 전

Definition

GetChildIndex(HierarchyNode)

public int GetChildIndex(in HierarchyNode node)

Parameters

The hierarchy node.

Returns

Type

Description

intThe node index, or -1 if invalid.