文档

Unity Engine

Unity Engine

Horizontal

Configure ScrollView for horizontal scrolling.
阅读时间1 分钟最后更新于 1 个月前

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.