selectedTabIndex
A property that returns the index of current active tab inside a list of available tabs.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public int selectedTabIndex { get; set; }
Remarks
Setting a valid index will set the Tab at the given index to active.