Wiki
Clone wikiUnity-UI-Extensions / Controls / SelectableScaler
Selectable Scalar
==============
A simple tween scaler to affect Rect Transform scale on other controls.
Contents
1 Overview
3 Usage
5 See also
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
See also
Credits and Donation
Tomek S
External links
Updated