this[]
Returns the element at the specified index in the hierarchy
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Property
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
this[int]
public VisualElement this[int key] { get; }
Parameters
The index of the child
Returns
Type | Description |
|---|---|
| VisualElement | The VisualElement at this index |
Remarks
Throws an IndexOutOfRangeException exception if the index is invalid.