ScrollView.NestedInteractionKind
Options for controlling how nested ScrollView handles scrolling when reaching the limits of the scrollable area.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Enum
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public enum ScrollView.NestedInteractionKind
Fields
Value | Description |
|---|---|
| Default | Automatically selects the behavior according to the context in which the UI runs. For touch input, typically mobile devices, NestedInteractionKind.StopScrolling is used. For scroll wheel input, NestedInteractionKind.ForwardScrolling is used. |
| ForwardScrolling | Scrolling will continue to the parent when no movement is possible in the scrolled direction. |
| StopScrolling | Scrolling capture will remain in the scroll view if it initiated the drag. |