Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


scrollOffset

The current scrolling position.
Read time 1 minuteLast updated 6 days ago

Definition

public Vector2 scrollOffset { get; set; }

Remarks

You can set this property to scroll the content to a specific position. For example, to scroll to the bottom of the ScrollView, set this property to the maximum value of the vertical scroller. Refer to the UXML element ScrollView user manual page for an example.