Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Horizontal

Configure ScrollView for horizontal scrolling.
Read time 1 minuteLast updated 5 days ago

Definition

Horizontal = 1

Remarks

Requires elements with the width property explicitly defined. A ScrollView configured with this mode has the ScrollView.horizontalVariantUssClassName class in its class list. If ScrollView is set to flex-grow or if it's parent is set to FlexDirection.Row elements height stretch else they require a height.