A component of the FancyScrollView system for advanced scrolling implementations.
1 Overview
3 Methods
4 Usage
6 See also
The Scroller component is part of the FancyScrollView system and handles the scrolling behavior for advanced scrolling implementations. It provides smooth scrolling with inertia and customizable behavior.
The properties of the Scroller control are as follows:
| Property | Description |
|---|---|
| Viewport | The RectTransform of the scrollable viewport |
| Direction Axis | The axis of scrolling (Horizontal or Vertical) |
| Movement Type | How the scroller behaves (Unrestricted, Elastic, Clamped) |
| Elasticity | The elasticity factor when using elastic movement type |
| Scroll Sensitivity | Sensitivity of the scrolling input |
| Inertia | Whether to use inertia for smooth deceleration |
| Deceleration Rate | Rate at which scrolling decelerates (only used when inertia is enabled) |
| Snap | Whether to snap to nearest item when scrolling stops |
| Snap Duration | Duration of the snap animation |
| Snap Easing | Easing function used for snap animation |
The Scroller provides programmatic control through code (no public methods exposed directly).
The Scroller component is typically used as part of the FancyScrollView system and is not meant to be used standalone. See the FancyScrollView documentation for complete implementation details.
For implementation examples, refer to the FancyScrollView samples in the Examples~ folder.
See FancyScrollView documentation for demo videos.
setchi