ScrollViewMode
Configurations of the ScrollView to influence the layout of its contents and how scrollbars appear. ScrollView.mode
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Enum
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public enum ScrollViewMode
Remarks
The default is ScrollViewMode.Vertical.
For more information, refer to UXML element ScrollView.
Fields
Value | Description |
|---|---|
| Horizontal | Configure ScrollView for horizontal scrolling. |
| Vertical | Configure ScrollView for vertical scrolling. |
| VerticalAndHorizontal | Configure ScrollView for vertical and horizontal scrolling. |