Click or drag to resize

TweenT Class

An implementation of a tween object.
Inheritance Hierarchy

Namespace:  DigitalRuby.WeatherMaker
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version:
public class Tween<T> : ITween<T>, ITween
where T : struct, new()

Type Parameters

The type to tween.

The TweenT type exposes the following members.

Public propertyCurrentProgress
Gets the current progress of the tween (0 - 1).
Public propertyCurrentTime
Gets the current time of the tween.
Public propertyCurrentValue
Gets the current value of the tween.
Public propertyDelay
Delay before starting the tween
Public propertyDuration
Gets the duration of the tween.
Public propertyEndValue
Gets the ending value of the tween.
Public propertyForceUpdate
Whether to force update even if renderer is null or not visible or deactivated, default is false
Public propertyGameObject
The game object - null if none
Public propertyKey
The key that identifies this tween - can be null
Public propertyRenderer
The renderer - null if none
Public propertyStartValue
Gets the starting value of the tween.
Public propertyState
Gets the current state of the tween.
Public methodContinueWithTNewTween
Set another tween to execute when this tween finishes. Inherits the Key and if using Unity, GameObject, Renderer and ForceUpdate properties.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodPause
Pauses the tween.
Public methodResume
Resumes the paused tween.
Public methodSetup
Initialize a tween.
Public methodStart
Starts a tween. Setup must be called first.
Public methodStop
Stops the tween.
Public methodToString (Inherited from Object.)
Public methodUpdate
Updates the tween.
See Also
Inheritance Hierarchy