itemsChosen
Callback triggered when the user acts on a selection of one or more items, for example by double-clicking or pressing Enter.
阅读时间1 分钟最后更新于 1 个月前
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.