Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


VerticalAndHorizontal

Configure ScrollView for vertical and horizontal scrolling.
Read time 1 minuteLast updated 9 days ago

Definition

VerticalAndHorizontal = 2

Remarks

Requires elements with the height property explicitly defined. A ScrollView configured with this mode has the _verticalHorizontalVariantUssClassName class in its class list. The difference with the vertical mode is that content will not wrap.