IndexOf(VisualElement)
Retrieves the index of the specified VisualElement in the Hierarchy.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public int IndexOf(VisualElement element)
Parameters
The element to return the index for.
Returns
Type | Description |
|---|---|
| int | The index of the element, or -1 if the element is not found. |