Enum Scrollbar.Direction
Setting that indicates one of four directions the scrollbar will travel.
Namespace: UnityEngine.UI
Syntax
public enum Direction
Fields
| Name | Description | Value |
|---|---|---|
| LeftToRight | Starting position is the Left. |
0 |
| RightToLeft | Starting position is the Right |
1 |
| BottomToTop | Starting position is the Bottom. |
2 |
| TopToBottom | Starting position is the Top. |
3 |