Skip to content

Tween Queue

mrlinds edited this page Nov 14, 2017 · 2 revisions

About

Tween Queue is usefull when multiple tweens may be needed to be played simultaneously and called in an organized manner.

You can set up several groups of tweens, but you may find you need to open two inspector pannels and lock the one with the tween queue on it to effectively assign the tweens if you have several on a targeted object.

Tweens can be forced to have a particular time length or to be reversed.

Parameters

Item Queue

List of Queues

Label

Name of Queue. Can be used to call the Queue in script

Tweens

List of any type of InspectorTween Tween (Any tween derived from 'TweenBase' class)

Reverse

Force all tweens in list to play Reverse instead of Forwards

Time Length Override

Force all tweens specified to use the specified time length instead of time set on individual tween

Set Initial Transforms

Will set 'Initial' state of transform type tweens to be the state object is in on invoking that queue. Initial is typically called when component awakens. This will particularly affect tweens using relative transform settings.

Editor Buttons

Tween to play

index of tween to invoke when Play Queue button is pressed

Play Queue

Invoke the specified Queue's tweens

Set To Start

Set all tweens in Queue to value at time '0' of tween

Set To Mid

Set all tweens in Queue to value at halfway between time 0 and end time of tween

Set To End

Set all tweens in Queue to value at end time of tween

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

Clone this wiki locally