文档

Unity Engine

Unity Engine

mode

Controls how the ScrollView allows the user to scroll the contents. ScrollViewMode
阅读时间1 分钟最后更新于 1 个月前

Definition

[UxmlAttribute]public ScrollViewMode mode { get; set; }

Remarks

The default is ScrollViewMode.Vertical. Writing to this property modifies the class list of the ScrollView according to the specified value of ScrollViewMode. When the value changes, the class list matching the old value is removed and the class list matching the new value is added.