ScrollToItem(int)
Scrolls to a specific item index and makes it visible.
Read time 1 minuteLast updated 13 days ago
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.