IndexOf(VisualElement)
Retrieves the index of the specified VisualElement in the Hierarchy.
읽는 시간 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. |