itemsChosen
Callback triggered when the user acts on a selection of one or more items, for example by double-clicking or pressing Enter.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Event
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public event Action<IEnumerable<object>> itemsChosen
Remarks
This callback receives an enumerable that contains the item or items chosen.
Note: A single-click only changes the selection. Use a double-click to submit the selection.