Wiki

Clone wiki

Unity-UI-Extensions / Controls / SelectableScaler

Selectable Scalar

==============

A simple tween scaler to affect Rect Transform scale on other controls.


Contents

1 Overview

2 Properties

3 Usage

4 Video Demo

5 See also

6 Credits and Donation

7 External links


Overview

A simple Tween enhancement that scales another RectTransform according to a preset curve.


Properties

The properties of the Selectable Scalar control are as follows:

Property Description
Anim Curve The curve that will be used to scale the Rect Transform in and out.
Speed The speed at which the animation will take effect.
Target The target for the animation.

Usage

Like with other Layout controls, simply add this control to any control that has a Selectable component (e.g. Button, NonGraphicSelectable) through the Add Component menu as follows: "Add Component -> Extensions -> Selectable Scalar*"

Or alternatively, add the component to the control using:

"Component -> UI -> Extensions -> Selectable Scalar"


Video Demo

Click to play

Selectable Scalar Demo


See also


Credits and Donation

Tomek S


Sourced from

Updated