ドキュメント

Unity Engine

Unity Engine

GetChildIndex(in HierarchyNode)

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

Definition

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

GetChildIndex(HierarchyNode)

public int GetChildIndex(in HierarchyNode node)

Parameters

The hierarchy node.

Returns

Type

Description

intThe node index, or -1 if invalid.