Tweening

Static Class in Zigurous.Tweening

Declaration

public static class Tweening

Description

The primary interface to create, control, and manage tweens.

Static Properties

CountThe number of tweens currently alive. This includes tweens that have been recycled and are not currently active (Read only).
ActiveCountThe number of tweens that are currently alive and active (Read only).

Static Methods

To<T>Creates a tween that animates a parameter to a given end value over a set duration.
To<T, U>Creates a tween that animates a parameter on an object to a given end value over a set duration.
From<T>Creates a tween that animates a parameter from a given end value to the current value over a set duration.
From<T, U>Creates a tween that animates a parameter on an object from a given end value to the current value over a set duration.
SequenceCreates a new, empty tween sequence.
PlayAllPlays all active tweens.
PlayPlays any alive tween that matches the given id.
Play<T>Plays any alive tween that is animating the given target object.
StopAllStops all active tweens.
StopStops any alive tween that matches the given id.
Stop<T>Stops any alive tween that is animating the given target object.
RestartAllRestarts all active tweens.
RestartRestarts any alive tween that matches the given id.
Restart<T>Restarts any alive tween that is animating the given target object.
CompleteAllCompletes all active tweens.
CompleteCompletes any alive tween that matches the given id.
Complete<T>Completes any alive tween that is animating the given target object.
KillAllKills all active tweens. Optionally, the tweens can be completed before being killed.
KillKills any alive tween that matches the given id. Optionally, the tweens can be completed before being killed.