기술 자료

Unity Engine

Unity Engine

scrollOffset

The current scrolling position.
읽는 시간 1분최근 업데이트: 한 달 전

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.