Documentation

Unity Engine

Download Unity

Unity Engine

ScrollTo(VisualElement)

Scroll to a specific child element.
Read time 1 minuteLast updated 4 days ago

Definition

public void ScrollTo(VisualElement child)

Parameters

The child to scroll to.

Remarks

This example creates a ScrollView that contains multiple labels. A Button is used to scroll to a selected label.