Skip to content

TweenScale

mrlinds edited this page Sep 29, 2018 · 3 revisions

About

Tween Scale will adjust the local scale of objects

All tween classes use the same set of common settings.

See page : Common Settings

Parameters

Target Transform

If left empty, will be set to the transform of the game object that the component is on, otherwise will set position of specified transform.

Transform Mode

Absolute Local - Values listed are absolute in relation to parent object Relative Local - Values listed are relative to 'initial' value set at Awake, or set via scripting. Manual Debug Set - Set the flags in the debug inspector to either set only the start or end value as relative. Results may vary

Add Random to Targets

(default x=-1 y=-1 z=-1) Any value less than or equal to '0' will be considered 'off' for that axis. Will +/- value to the specified positions, random per loop.

Scales

Array of positions over which to lerp All positions are applied in local object space.

Lindsay Jorgensen lindsay (at) radialgames (dot) com or twitter @mrlinds

Clone this wiki locally