Enum ScrollView.TouchScrollBehavior
The behavior to use when a user tries to scroll past the end of the ScrollView content using a touch interaction.
Namespace: UnityEngine.UIElements
Syntax
public enum TouchScrollBehavior : int
Fields
Name | Description | Value |
---|---|---|
Unrestricted | The content position can move past the ScrollView boundaries. |
0 |
Elastic | The content position can overshoot the ScrollView boundaries, but then "snaps" back within them. |
1 |
Clamped | The content position is clamped to the ScrollView boundaries. |
2 |