ドキュメント

Unity Engine

Download Unity

Unity Engine

GetChildIndex(in HierarchyNode)

Gets the index of a hierarchy node in its parent's children list.
読み終わるまでの所要時間 1 分最終更新 14時間前

Definition

GetChildIndex(HierarchyNode)

public int GetChildIndex(in HierarchyNode node)

Parameters

The hierarchy node.

Returns

Type

Description

intThe node index, or -1 if invalid.