Unity UI Extensions

Scroll Rect Tweener

Tweening solution for ScrollRects, adds smoothing automatically


Contents

1 Overview

2 Properties

3 Methods

4 Usage

5 Video Demo

6 See also

7 Credits and Donation

8 External links


Overview

The Scroll Rect Tweener is a simple programmatic component that allows you tween from one position on a Scroll Rect to another with a selectable smoothing value


Properties

The properties of the Box Slider control are as follows:

Property Description
Move Speed The default speed that the control moves when Tweening
Disable Drag While Tweening Stops the user from being able to disrupt the tweening motion via touch or pointer

The control is mainly used programmatically with the following functions Function | Arguments | Description

Note Coordinates are quad based with 0,0 being the bottom left and 1,1 being the top right of the Scroll Rect Area.


Methods

This component does not expose public methods beyond inherited behaviour.


Usage

Simply add the default Scroll Rect Tweener component to a Scroll Rect using:

“Add Component -> UI -> Extensions -> ScrollRectTweener”


Video Demo

Click to play

Scroll Rect Tweener  Demo


See also


Credits and Donation

Credit Martin Sharkbomb


Sourced from - http://www.sharkbombs.com/2015/08/26/unity-ui-scrollrect-tools/