ScrollView.TouchScrollBehavior
The behavior to use when a user tries to scroll past the end of the ScrollView content using a touch interaction.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Enum
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public enum ScrollView.TouchScrollBehavior
Fields
Value | Description |
|---|---|
| Clamped | The content position is clamped to the ScrollView boundaries. |
| Elastic | The content position can overshoot the ScrollView boundaries, but then "snaps" back within them. |
| Unrestricted | The content position can move past the ScrollView boundaries. |