SetSelection
Sets the currently selected item.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
SetSelection(int)
Sets the currently selected item.
public void SetSelection(int index)
Parameters
The item index.
SetSelection(IEnumerable<int>)
Sets a collection of selected items.
public void SetSelection(IEnumerable<int> indices)
Parameters
The collection of the indices of the items to be selected.