this[]
Returns the element at the specified index in the hierarchy
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
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.