IndexOf(in HierarchyNode)
Gets the zero-based index of a specified node.
読み終わるまでの所要時間 1 分最終更新 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 |
|---|---|
| int | A zero-based index of the node if found, -1 otherwise. |