Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


mode

Controls how the ScrollView allows the user to scroll the contents. ScrollViewMode
Read time 1 minuteLast updated 7 days ago

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.