IndexOf(VisualElement)
Retrieves the child index of the specified VisualElement.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public int IndexOf(VisualElement element)
Parameters
The child element to retrieve.
Returns
Type | Description |
|---|---|
| int | The index of the child, or -1 if the child is not found. |