Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

ScrollViewMode.Horizontal

Description

Configure ScrollView for horizontal scrolling.

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.