ScrollToItem(int)
Scrolls to a specific item index and makes it visible.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public void ScrollToItem(int index)
Parameters
Item index to scroll to. Specify -1 to make the last item visible.