Skip to content

Latest commit

 

History

History
89 lines (57 loc) · 2.04 KB

File metadata and controls

89 lines (57 loc) · 2.04 KB

Scroller

A component of the FancyScrollView system for advanced scrolling implementations.


Contents

1 Overview

2 Properties

3 Methods

4 Usage

5 Video Demo

6 See also

7 Credits and Donation

8 External links


Overview

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.


Properties

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

Methods

The Scroller provides programmatic control through code (no public methods exposed directly).


Usage

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.


Video Demo

See FancyScrollView documentation for demo videos.


See also


Credits and Donation

setchi


External links

Sourced from