文档

Unity Engine

Unity Engine

VerticalAndHorizontal

Configure ScrollView for vertical and horizontal scrolling.
阅读时间1 分钟最后更新于 21 天前

Definition

VerticalAndHorizontal = 2

Remarks

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