VerticalAndHorizontal
Configure ScrollView for vertical and horizontal scrolling.
Read time 1 minuteLast updated 9 days ago
Definition
- Type: Field
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
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.