文档

Unity Engine

Unity Engine

verticalScroller

Gets the vertical scrollbar for the scroll view.
阅读时间1 分钟最后更新于 1 个月前

Definition

public Scroller verticalScroller { get; }

Remarks

The
verticalScroller
property provides access to the vertical scrollbar of the ScrollView. You can use it to control or monitor vertical scrolling, such as setting the scroll value, scrolling by a page, or handling scroll events. Refer to UIE-uxml-element-ScrollView for example usage and additional details.