DOTween  0.8.530
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Tween Class Referenceabstract

Indicates either a Tweener or a Sequence More...

Inheritance diagram for Tween:
ABSSequentiable Sequence Tweener

Public Attributes

float timeScale
 TimeScale for the tween More...
 
bool isBackwards
 If TRUE the tween wil go backwards More...
 
object id
 Id (usable for filtering with DOTween static methods). Can be an int, a string, an object, or anything else More...
 
object target
 Tween target (usable for filtering with DOTween static methods). Automatically set by tween creation shorcuts More...
 
TweenCallback onPlay
 Called when the tween is set in a playing state, after any eventual delay. Also called each time the tween resumes playing from a paused state More...
 
TweenCallback onRewind
 Called when the tween is rewinded, either by calling More...
 
TweenCallback onUpdate
 Called each time the tween updates More...
 
TweenCallback onStepComplete
 Called the moment the tween completes one loop cycle More...
 
TweenCallback onComplete
 Called the moment the tween reaches completion (loops included) More...
 
TweenCallback onKill
 Called the moment the tween is killed More...
 
float easeOvershootOrAmplitude
 
float easePeriod
 
TweenCallback onStart
 Called the first time the tween is set in a playing state, after any eventual delay More...
 

Detailed Description

Indicates either a Tweener or a Sequence

Member Data Documentation

float easeOvershootOrAmplitude
float easePeriod
object id

Id (usable for filtering with DOTween static methods). Can be an int, a string, an object, or anything else

bool isBackwards

If TRUE the tween wil go backwards

TweenCallback onComplete

Called the moment the tween reaches completion (loops included)

TweenCallback onKill

Called the moment the tween is killed

TweenCallback onPlay

Called when the tween is set in a playing state, after any eventual delay. Also called each time the tween resumes playing from a paused state

TweenCallback onRewind

Called when the tween is rewinded, either by calling

Rewind or by reaching the start position while playing backwards. Rewinding a tween that is already rewinded will not fire this callback

TweenCallback onStart
inherited

Called the first time the tween is set in a playing state, after any eventual delay

TweenCallback onStepComplete

Called the moment the tween completes one loop cycle

TweenCallback onUpdate

Called each time the tween updates

object target

Tween target (usable for filtering with DOTween static methods). Automatically set by tween creation shorcuts

float timeScale

TimeScale for the tween