DOTween  0.8.530
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
ShortcutExtensions Class Reference

Methods that extend known Unity objects and allow to directly create and control tweens from their instances More...

Static Public Member Functions

static Tweener DOMove (this Transform target, Vector3 endValue, float duration, bool snapping=false)
 Tweens a Transform's position to the given value. Also stores the transform as the tween's target so it can be used for filtered operations More...
 
static Tweener DOMoveX (this Transform target, float endValue, float duration, bool snapping=false)
 Tweens a Transform's X position to the given value. Also stores the transform as the tween's target so it can be used for filtered operations More...
 
static Tweener DOMoveY (this Transform target, float endValue, float duration, bool snapping=false)
 Tweens a Transform's Y position to the given value. Also stores the transform as the tween's target so it can be used for filtered operations More...
 
static Tweener DOMoveZ (this Transform target, float endValue, float duration, bool snapping=false)
 Tweens a Transform's Z position to the given value. Also stores the transform as the tween's target so it can be used for filtered operations More...
 
static Tweener DOLocalMove (this Transform target, Vector3 endValue, float duration, bool snapping=false)
 Tweens a Transform's localPosition to the given value. Also stores the transform as the tween's target so it can be used for filtered operations More...
 
static Tweener DOLocalMoveX (this Transform target, float endValue, float duration, bool snapping=false)
 Tweens a Transform's X localPosition to the given value. Also stores the transform as the tween's target so it can be used for filtered operations More...
 
static Tweener DOLocalMoveY (this Transform target, float endValue, float duration, bool snapping=false)
 Tweens a Transform's Y localPosition to the given value. Also stores the transform as the tween's target so it can be used for filtered operations More...
 
static Tweener DOLocalMoveZ (this Transform target, float endValue, float duration, bool snapping=false)
 Tweens a Transform's Z localPosition to the given value. Also stores the transform as the tween's target so it can be used for filtered operations More...
 
static Tweener DORotate (this Transform target, Vector3 endValue, float duration, bool useShortest360Route=true)
 Tweens a Transform's rotation to the given value. Also stores the transform as the tween's target so it can be used for filtered operations More...
 
static Tweener DOLocalRotate (this Transform target, Vector3 endValue, float duration, bool useShortest360Route=true)
 Tweens a Transform's localRotation to the given value. Also stores the transform as the tween's target so it can be used for filtered operations More...
 
static Tweener DOLocalAxisRotate (this Transform target, Vector3 endValue, float duration)
 Tweens a Transform's rotation to the given value, using its local axis system (like when rotating an object with the "local" switch enabled in Unity's editor). More...
 
static Tweener DOScale (this Transform target, Vector3 endValue, float duration)
 Tweens a Transform's localScale to the given value. Also stores the transform as the tween's target so it can be used for filtered operations More...
 
static Tweener DOScaleX (this Transform target, float endValue, float duration)
 Tweens a Transform's X localScale to the given value. Also stores the transform as the tween's target so it can be used for filtered operations More...
 
static Tweener DOScaleY (this Transform target, float endValue, float duration)
 Tweens a Transform's Y localScale to the given value. Also stores the transform as the tween's target so it can be used for filtered operations More...
 
static Tweener DOScaleZ (this Transform target, float endValue, float duration)
 Tweens a Transform's Z localScale to the given value. Also stores the transform as the tween's target so it can be used for filtered operations More...
 
static Tweener DOLookAt (this Transform target, Vector3 towards, float duration, Vector3?up=null)
 Tweens a Transform's rotation so that it will look towards the given position. Also stores the transform as the tween's target so it can be used for filtered operations More...
 
static Tweener DOPunchPosition (this Transform target, Vector3 punch, float duration, int vibrato=10, float elasticity=1, bool snapping=false)
 Punches a Transform's localPosition towards the given direction and then back to the starting one as if it was connected to the starting position via an elastic. More...
 
static Tweener DOPunchScale (this Transform target, Vector3 punch, float duration, int vibrato=10, float elasticity=1)
 Punches a Transform's localScale towards the given size and then back to the starting one as if it was connected to the starting scale via an elastic. More...
 
static Tweener DOPunchRotation (this Transform target, Vector3 punch, float duration, int vibrato=10, float elasticity=1)
 Punches a Transform's localRotation towards the given size and then back to the starting one as if it was connected to the starting rotation via an elastic. More...
 
static Tweener DOShakePosition (this Transform target, float duration, float strength=1, int vibrato=10, float randomness=90, bool snapping=false)
 Shakes a Transform's localPosition with the given values. More...
 
static Tweener DOShakeRotation (this Transform target, float duration, float strength=90, int vibrato=10, float randomness=90)
 Shakes a Transform's localRotation. More...
 
static Tweener DOShakeScale (this Transform target, float duration, float strength=1, int vibrato=10, float randomness=90)
 Shakes a Transform's localScale. More...
 
static Tweener DOMove (this Rigidbody target, Vector3 endValue, float duration, bool snapping=false)
 Tweens a Rigidbody's position to the given value. Also stores the rigidbody as the tween's target so it can be used for filtered operations More...
 
static Tweener DOMoveX (this Rigidbody target, float endValue, float duration, bool snapping=false)
 Tweens a Rigidbody's X position to the given value. Also stores the rigidbody as the tween's target so it can be used for filtered operations More...
 
static Tweener DOMoveY (this Rigidbody target, float endValue, float duration, bool snapping=false)
 Tweens a Rigidbody's Y position to the given value. Also stores the rigidbody as the tween's target so it can be used for filtered operations More...
 
static Tweener DOMoveZ (this Rigidbody target, float endValue, float duration, bool snapping=false)
 Tweens a Rigidbody's Z position to the given value. Also stores the rigidbody as the tween's target so it can be used for filtered operations More...
 
static Tweener DORotate (this Rigidbody target, Vector3 endValue, float duration, bool useShortest360Route=true)
 Tweens a Rigidbody's rotation to the given value. Also stores the rigidbody as the tween's target so it can be used for filtered operations More...
 
static Tweener DOLocalAxisRotate (this Rigidbody target, Vector3 endValue, float duration)
 Tweens a Rigidbody's rotation to the given value, using its local axis system (like when rotating an object with the "local" switch enabled in Unity's editor). More...
 
static Tweener DOLookAt (this Rigidbody target, Vector3 towards, float duration, Vector3?up=null)
 Tweens a Rigidbody's rotation so that it will look towards the given position. Also stores the rigidbody as the tween's target so it can be used for filtered operations More...
 
static Tweener DOShakePosition (this Camera target, float duration, float strength=3, int vibrato=10, float randomness=90)
 Shakes a Camera's localPosition along its relative X Y axes with the given values. Also stores the camera as the tween's target so it can be used for filtered operations More...
 
static Tweener DOShakeRotation (this Camera target, float duration, float strength=90, int vibrato=10, float randomness=90)
 Shakes a Camera's localRotation. Also stores the camera as the tween's target so it can be used for filtered operations More...
 
static Tweener DOColor (this Camera target, Color endValue, float duration)
 Tweens a Camera's backgroundColor to the given value. Also stores the camera as the tween's target so it can be used for filtered operations More...
 
static Tweener DOColor (this Material target, Color endValue, float duration)
 Tweens a Material's color to the given value. Also stores the material as the tween's target so it can be used for filtered operations More...
 
static Tweener DOColor (this Material target, Color endValue, string property, float duration)
 Tweens a Material's named color property to the given value. Also stores the material as the tween's target so it can be used for filtered operations More...
 
static Tweener DOFade (this Material target, float endValue, float duration)
 Tweens a Material's alpha color to the given value (will have no effect unless your material supports transparency). Also stores the material as the tween's target so it can be used for filtered operations More...
 
static Tweener DOColor (this Light target, Color endValue, float duration)
 Tweens a Light's color to the given value. Also stores the light as the tween's target so it can be used for filtered operations More...
 
static Tweener DOIntensity (this Light target, float endValue, float duration)
 Tweens a Light's intensity to the given value. Also stores the light as the tween's target so it can be used for filtered operations More...
 
static int DOKill (this Transform target)
 Kills all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens killed. More...
 
static int DOKill (this Rigidbody target)
 Kills all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens killed. More...
 
static int DOKill (this Material target)
 Kills all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens killed. More...
 
static int DOKill (this Camera target)
 Kills all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens killed. More...
 
static int DOFlip (this Transform target)
 Flips the direction (backwards if it was going forward or viceversa) of all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens flipped. More...
 
static int DOFlip (this Rigidbody target)
 Flips the direction (backwards if it was going forward or viceversa) of all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens flipped. More...
 
static int DOFlip (this Material target)
 Flips the direction (backwards if it was going forward or viceversa) of all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens played. More...
 
static int DOFlip (this Camera target)
 Flips the direction (backwards if it was going forward or viceversa) of all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens played. More...
 
static int DOGoto (this Transform target, float to, bool andPlay=false)
 Sends to the given position all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens involved. More...
 
static int DOGoto (this Rigidbody target, float to, bool andPlay=false)
 Sends to the given position all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens involved. More...
 
static int DOGoto (this Material target, float to, bool andPlay=false)
 Sends to the given position all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens involved. More...
 
static int DOGoto (this Camera target, float to, bool andPlay=false)
 Sends to the given position all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens involved. More...
 
static int DOPause (this Transform target)
 Pauses all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens paused. More...
 
static int DOPause (this Rigidbody target)
 Pauses all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens paused. More...
 
static int DOPause (this Material target)
 Pauses all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens paused. More...
 
static int DOPause (this Camera target)
 Pauses all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens paused. More...
 
static int DOPlay (this Transform target)
 Plays all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens played. More...
 
static int DOPlay (this Rigidbody target)
 Plays all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens played. More...
 
static int DOPlay (this Material target)
 Plays all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens played. More...
 
static int DOPlay (this Camera target)
 Plays all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens played. More...
 
static int DOPlayBackwards (this Transform target)
 Plays backwards all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens played. More...
 
static int DOPlayBackwards (this Rigidbody target)
 Plays backwards all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens played. More...
 
static int DOPlayBackwards (this Material target)
 Plays backwards all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens played. More...
 
static int DOPlayBackwards (this Camera target)
 Plays backwards all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens played. More...
 
static int DOPlayForward (this Transform target)
 Plays forward all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens played. More...
 
static int DOPlayForward (this Rigidbody target)
 Plays forward all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens played. More...
 
static int DOPlayForward (this Material target)
 Plays forward all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens played. More...
 
static int DOPlayForward (this Camera target)
 Plays forward all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens played. More...
 
static int DORestart (this Transform target)
 Restarts all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens restarted. More...
 
static int DORestart (this Rigidbody target)
 Restarts all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens restarted. More...
 
static int DORestart (this Material target)
 Restarts all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens restarted. More...
 
static int DORestart (this Camera target)
 Restarts all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens restarted. More...
 
static int DORewind (this Transform target)
 Rewinds all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens rewinded. More...
 
static int DORewind (this Rigidbody target)
 Rewinds all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens rewinded. More...
 
static int DORewind (this Material target)
 Rewinds all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens rewinded. More...
 
static int DORewind (this Camera target)
 Rewinds all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens rewinded. More...
 
static int DOTogglePause (this Transform target)
 Toggles the paused state (plays if it was paused, pauses if it was playing) of all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens involved. More...
 
static int DOTogglePause (this Rigidbody target)
 Toggles the paused state (plays if it was paused, pauses if it was playing) of all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens involved. More...
 
static int DOTogglePause (this Material target)
 Toggles the paused state (plays if it was paused, pauses if it was playing) of all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens involved. More...
 
static int DOTogglePause (this Camera target)
 Toggles the paused state (plays if it was paused, pauses if it was playing) of all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens involved. More...
 

Detailed Description

Methods that extend known Unity objects and allow to directly create and control tweens from their instances

Member Function Documentation

static Tweener DOColor ( this Camera  target,
Color  endValue,
float  duration 
)
static

Tweens a Camera's backgroundColor to the given value. Also stores the camera as the tween's target so it can be used for filtered operations

Parameters
endValueThe end value to reach
durationThe duration of the tween
static Tweener DOColor ( this Material  target,
Color  endValue,
float  duration 
)
static

Tweens a Material's color to the given value. Also stores the material as the tween's target so it can be used for filtered operations

Parameters
endValueThe end value to reach
durationThe duration of the tween
static Tweener DOColor ( this Material  target,
Color  endValue,
string  property,
float  duration 
)
static

Tweens a Material's named color property to the given value. Also stores the material as the tween's target so it can be used for filtered operations

Parameters
endValueThe end value to reach
propertyThe name of the color property to tween (like _Tint or _SpecColor)
durationThe duration of the tween
static Tweener DOColor ( this Light  target,
Color  endValue,
float  duration 
)
static

Tweens a Light's color to the given value. Also stores the light as the tween's target so it can be used for filtered operations

Parameters
endValueThe end value to reach
durationThe duration of the tween
static Tweener DOFade ( this Material  target,
float  endValue,
float  duration 
)
static

Tweens a Material's alpha color to the given value (will have no effect unless your material supports transparency). Also stores the material as the tween's target so it can be used for filtered operations

Parameters
endValueThe end value to reach
durationThe duration of the tween
static int DOFlip ( this Transform  target)
static

Flips the direction (backwards if it was going forward or viceversa) of all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens flipped.

static int DOFlip ( this Rigidbody  target)
static

Flips the direction (backwards if it was going forward or viceversa) of all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens flipped.

static int DOFlip ( this Material  target)
static

Flips the direction (backwards if it was going forward or viceversa) of all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens played.

static int DOFlip ( this Camera  target)
static

Flips the direction (backwards if it was going forward or viceversa) of all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens played.

static int DOGoto ( this Transform  target,
float  to,
bool  andPlay = false 
)
static

Sends to the given position all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens involved.

Parameters
toTime position to reach (if higher than the whole tween duration the tween will simply reach its end)
andPlayIf TRUE will play the tween after reaching the given position, otherwise it will pause it
static int DOGoto ( this Rigidbody  target,
float  to,
bool  andPlay = false 
)
static

Sends to the given position all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens involved.

Parameters
toTime position to reach (if higher than the whole tween duration the tween will simply reach its end)
andPlayIf TRUE will play the tween after reaching the given position, otherwise it will pause it
static int DOGoto ( this Material  target,
float  to,
bool  andPlay = false 
)
static

Sends to the given position all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens involved.

Parameters
toTime position to reach (if higher than the whole tween duration the tween will simply reach its end)
andPlayIf TRUE will play the tween after reaching the given position, otherwise it will pause it
static int DOGoto ( this Camera  target,
float  to,
bool  andPlay = false 
)
static

Sends to the given position all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens involved.

Parameters
toTime position to reach (if higher than the whole tween duration the tween will simply reach its end)
andPlayIf TRUE will play the tween after reaching the given position, otherwise it will pause it
static Tweener DOIntensity ( this Light  target,
float  endValue,
float  duration 
)
static

Tweens a Light's intensity to the given value. Also stores the light as the tween's target so it can be used for filtered operations

Parameters
endValueThe end value to reach
durationThe duration of the tween
static int DOKill ( this Transform  target)
static

Kills all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens killed.

static int DOKill ( this Rigidbody  target)
static

Kills all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens killed.

static int DOKill ( this Material  target)
static

Kills all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens killed.

static int DOKill ( this Camera  target)
static

Kills all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens killed.

static Tweener DOLocalAxisRotate ( this Transform  target,
Vector3  endValue,
float  duration 
)
static

Tweens a Transform's rotation to the given value, using its local axis system (like when rotating an object with the "local" switch enabled in Unity's editor).

The endValue passed is obviously considered relative to the transform's actual rotation.

Also stores the transform as the tween's target so it can be used for filtered operations

Parameters
endValueThe end value to reach
durationThe duration of the tween
static Tweener DOLocalAxisRotate ( this Rigidbody  target,
Vector3  endValue,
float  duration 
)
static

Tweens a Rigidbody's rotation to the given value, using its local axis system (like when rotating an object with the "local" switch enabled in Unity's editor).

The endValue passed is obviously considered relative to the transform's actual rotation.

Also stores the transform as the tween's target so it can be used for filtered operations

Parameters
endValueThe end value to reach
durationThe duration of the tween
static Tweener DOLocalMove ( this Transform  target,
Vector3  endValue,
float  duration,
bool  snapping = false 
)
static

Tweens a Transform's localPosition to the given value. Also stores the transform as the tween's target so it can be used for filtered operations

Parameters
endValueThe end value to reach
durationThe duration of the tween
snappingIf TRUE the tween will smoothly snap all values to integers
static Tweener DOLocalMoveX ( this Transform  target,
float  endValue,
float  duration,
bool  snapping = false 
)
static

Tweens a Transform's X localPosition to the given value. Also stores the transform as the tween's target so it can be used for filtered operations

Parameters
endValueThe end value to reach
durationThe duration of the tween
snappingIf TRUE the tween will smoothly snap all values to integers
static Tweener DOLocalMoveY ( this Transform  target,
float  endValue,
float  duration,
bool  snapping = false 
)
static

Tweens a Transform's Y localPosition to the given value. Also stores the transform as the tween's target so it can be used for filtered operations

Parameters
endValueThe end value to reach
durationThe duration of the tween
snappingIf TRUE the tween will smoothly snap all values to integers
static Tweener DOLocalMoveZ ( this Transform  target,
float  endValue,
float  duration,
bool  snapping = false 
)
static

Tweens a Transform's Z localPosition to the given value. Also stores the transform as the tween's target so it can be used for filtered operations

Parameters
endValueThe end value to reach
durationThe duration of the tween
snappingIf TRUE the tween will smoothly snap all values to integers
static Tweener DOLocalRotate ( this Transform  target,
Vector3  endValue,
float  duration,
bool  useShortest360Route = true 
)
static

Tweens a Transform's localRotation to the given value. Also stores the transform as the tween's target so it can be used for filtered operations

Parameters
endValueThe end value to reach
durationThe duration of the tween
useShortest360RouteIf TRUE (default) the rotation will take the shortest route and will not rotate more than 360°. If FALSE the rotation will be fully accounted. Is always FALSE if the tween is set as relative
static Tweener DOLookAt ( this Transform  target,
Vector3  towards,
float  duration,
Vector3?  up = null 
)
static

Tweens a Transform's rotation so that it will look towards the given position. Also stores the transform as the tween's target so it can be used for filtered operations

Parameters
towardsThe position to look at
durationThe duration of the tween
upThe vector that defines in which direction up is (default: Vector3.up)
static Tweener DOLookAt ( this Rigidbody  target,
Vector3  towards,
float  duration,
Vector3?  up = null 
)
static

Tweens a Rigidbody's rotation so that it will look towards the given position. Also stores the rigidbody as the tween's target so it can be used for filtered operations

Parameters
towardsThe position to look at
durationThe duration of the tween
upThe vector that defines in which direction up is (default: Vector3.up)
static Tweener DOMove ( this Transform  target,
Vector3  endValue,
float  duration,
bool  snapping = false 
)
static

Tweens a Transform's position to the given value. Also stores the transform as the tween's target so it can be used for filtered operations

Parameters
endValueThe end value to reach
durationThe duration of the tween
snappingIf TRUE the tween will smoothly snap all values to integers
static Tweener DOMove ( this Rigidbody  target,
Vector3  endValue,
float  duration,
bool  snapping = false 
)
static

Tweens a Rigidbody's position to the given value. Also stores the rigidbody as the tween's target so it can be used for filtered operations

Parameters
endValueThe end value to reach
durationThe duration of the tween
snappingIf TRUE the tween will smoothly snap all values to integers
static Tweener DOMoveX ( this Transform  target,
float  endValue,
float  duration,
bool  snapping = false 
)
static

Tweens a Transform's X position to the given value. Also stores the transform as the tween's target so it can be used for filtered operations

Parameters
endValueThe end value to reach
durationThe duration of the tween
snappingIf TRUE the tween will smoothly snap all values to integers
static Tweener DOMoveX ( this Rigidbody  target,
float  endValue,
float  duration,
bool  snapping = false 
)
static

Tweens a Rigidbody's X position to the given value. Also stores the rigidbody as the tween's target so it can be used for filtered operations

Parameters
endValueThe end value to reach
durationThe duration of the tween
snappingIf TRUE the tween will smoothly snap all values to integers
static Tweener DOMoveY ( this Transform  target,
float  endValue,
float  duration,
bool  snapping = false 
)
static

Tweens a Transform's Y position to the given value. Also stores the transform as the tween's target so it can be used for filtered operations

Parameters
endValueThe end value to reach
durationThe duration of the tween
snappingIf TRUE the tween will smoothly snap all values to integers
static Tweener DOMoveY ( this Rigidbody  target,
float  endValue,
float  duration,
bool  snapping = false 
)
static

Tweens a Rigidbody's Y position to the given value. Also stores the rigidbody as the tween's target so it can be used for filtered operations

Parameters
endValueThe end value to reach
durationThe duration of the tween
snappingIf TRUE the tween will smoothly snap all values to integers
static Tweener DOMoveZ ( this Transform  target,
float  endValue,
float  duration,
bool  snapping = false 
)
static

Tweens a Transform's Z position to the given value. Also stores the transform as the tween's target so it can be used for filtered operations

Parameters
endValueThe end value to reach
durationThe duration of the tween
snappingIf TRUE the tween will smoothly snap all values to integers
static Tweener DOMoveZ ( this Rigidbody  target,
float  endValue,
float  duration,
bool  snapping = false 
)
static

Tweens a Rigidbody's Z position to the given value. Also stores the rigidbody as the tween's target so it can be used for filtered operations

Parameters
endValueThe end value to reach
durationThe duration of the tween
snappingIf TRUE the tween will smoothly snap all values to integers
static int DOPause ( this Transform  target)
static

Pauses all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens paused.

static int DOPause ( this Rigidbody  target)
static

Pauses all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens paused.

static int DOPause ( this Material  target)
static

Pauses all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens paused.

static int DOPause ( this Camera  target)
static

Pauses all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens paused.

static int DOPlay ( this Transform  target)
static

Plays all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens played.

static int DOPlay ( this Rigidbody  target)
static

Plays all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens played.

static int DOPlay ( this Material  target)
static

Plays all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens played.

static int DOPlay ( this Camera  target)
static

Plays all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens played.

static int DOPlayBackwards ( this Transform  target)
static

Plays backwards all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens played.

static int DOPlayBackwards ( this Rigidbody  target)
static

Plays backwards all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens played.

static int DOPlayBackwards ( this Material  target)
static

Plays backwards all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens played.

static int DOPlayBackwards ( this Camera  target)
static

Plays backwards all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens played.

static int DOPlayForward ( this Transform  target)
static

Plays forward all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens played.

static int DOPlayForward ( this Rigidbody  target)
static

Plays forward all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens played.

static int DOPlayForward ( this Material  target)
static

Plays forward all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens played.

static int DOPlayForward ( this Camera  target)
static

Plays forward all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens played.

static Tweener DOPunchPosition ( this Transform  target,
Vector3  punch,
float  duration,
int  vibrato = 10,
float  elasticity = 1,
bool  snapping = false 
)
static

Punches a Transform's localPosition towards the given direction and then back to the starting one as if it was connected to the starting position via an elastic.

Parameters
punchThe direction and strength of the punch (added to the Transform's current position)
durationThe duration of the tween
vibratoIndicates how much will the punch vibrate
elasticityRepresents how much (0 to 1) the vector will go beyond the starting position when bouncing backwards. 1 creates a full oscillation between the punch direction and the opposite direction, while 0 oscillates only between the punch and the start position
snappingIf TRUE the tween will smoothly snap all values to integers
static Tweener DOPunchRotation ( this Transform  target,
Vector3  punch,
float  duration,
int  vibrato = 10,
float  elasticity = 1 
)
static

Punches a Transform's localRotation towards the given size and then back to the starting one as if it was connected to the starting rotation via an elastic.

Parameters
punchThe punch strength (added to the Transform's current rotation)
durationThe duration of the tween
vibratoIndicates how much will the punch vibrate
elasticityRepresents how much (0 to 1) the vector will go beyond the starting rotation when bouncing backwards. 1 creates a full oscillation between the punch rotation and the opposite rotation, while 0 oscillates only between the punch and the start rotation
static Tweener DOPunchScale ( this Transform  target,
Vector3  punch,
float  duration,
int  vibrato = 10,
float  elasticity = 1 
)
static

Punches a Transform's localScale towards the given size and then back to the starting one as if it was connected to the starting scale via an elastic.

Parameters
punchThe punch strength (added to the Transform's current scale)
durationThe duration of the tween
vibratoIndicates how much will the punch vibrate
elasticityRepresents how much (0 to 1) the vector will go beyond the starting size when bouncing backwards. 1 creates a full oscillation between the punch scale and the opposite scale, while 0 oscillates only between the punch scale and the start scale
static int DORestart ( this Transform  target)
static

Restarts all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens restarted.

static int DORestart ( this Rigidbody  target)
static

Restarts all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens restarted.

static int DORestart ( this Material  target)
static

Restarts all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens restarted.

static int DORestart ( this Camera  target)
static

Restarts all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens restarted.

static int DORewind ( this Transform  target)
static

Rewinds all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens rewinded.

static int DORewind ( this Rigidbody  target)
static

Rewinds all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens rewinded.

static int DORewind ( this Material  target)
static

Rewinds all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens rewinded.

static int DORewind ( this Camera  target)
static

Rewinds all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens rewinded.

static Tweener DORotate ( this Transform  target,
Vector3  endValue,
float  duration,
bool  useShortest360Route = true 
)
static

Tweens a Transform's rotation to the given value. Also stores the transform as the tween's target so it can be used for filtered operations

Parameters
endValueThe end value to reach
durationThe duration of the tween
useShortest360RouteIf TRUE (default) the rotation will take the shortest route and will not rotate more than 360°. If FALSE the rotation will be fully accounted. Is always FALSE if the tween is set as relative
static Tweener DORotate ( this Rigidbody  target,
Vector3  endValue,
float  duration,
bool  useShortest360Route = true 
)
static

Tweens a Rigidbody's rotation to the given value. Also stores the rigidbody as the tween's target so it can be used for filtered operations

Parameters
endValueThe end value to reach
durationThe duration of the tween
useShortest360RouteIf TRUE (default) the rotation will take the shortest route and will not rotate more than 360°. If FALSE the rotation will be fully accounted. Is always FALSE if the tween is set as relative
static Tweener DOScale ( this Transform  target,
Vector3  endValue,
float  duration 
)
static

Tweens a Transform's localScale to the given value. Also stores the transform as the tween's target so it can be used for filtered operations

Parameters
endValueThe end value to reach
durationThe duration of the tween
static Tweener DOScaleX ( this Transform  target,
float  endValue,
float  duration 
)
static

Tweens a Transform's X localScale to the given value. Also stores the transform as the tween's target so it can be used for filtered operations

Parameters
endValueThe end value to reach
durationThe duration of the tween
static Tweener DOScaleY ( this Transform  target,
float  endValue,
float  duration 
)
static

Tweens a Transform's Y localScale to the given value. Also stores the transform as the tween's target so it can be used for filtered operations

Parameters
endValueThe end value to reach
durationThe duration of the tween
static Tweener DOScaleZ ( this Transform  target,
float  endValue,
float  duration 
)
static

Tweens a Transform's Z localScale to the given value. Also stores the transform as the tween's target so it can be used for filtered operations

Parameters
endValueThe end value to reach
durationThe duration of the tween
static Tweener DOShakePosition ( this Transform  target,
float  duration,
float  strength = 1,
int  vibrato = 10,
float  randomness = 90,
bool  snapping = false 
)
static

Shakes a Transform's localPosition with the given values.

Parameters
durationThe duration of the tween
strengthThe shake strength
vibratoIndicates how much will the shake vibrate
randomnessIndicates how much the shake will be random (0 to 180 - values higher than 90 kind of suck, so beware). Setting it to 0 will shake along a single direction.
snappingIf TRUE the tween will smoothly snap all values to integers
static Tweener DOShakePosition ( this Camera  target,
float  duration,
float  strength = 3,
int  vibrato = 10,
float  randomness = 90 
)
static

Shakes a Camera's localPosition along its relative X Y axes with the given values. Also stores the camera as the tween's target so it can be used for filtered operations

Parameters
durationThe duration of the tween
strengthThe shake strength
vibratoIndicates how much will the shake vibrate
randomnessIndicates how much the shake will be random (0 to 180 - values higher than 90 kind of suck, so beware). Setting it to 0 will shake along a single direction.
static Tweener DOShakeRotation ( this Transform  target,
float  duration,
float  strength = 90,
int  vibrato = 10,
float  randomness = 90 
)
static

Shakes a Transform's localRotation.

Parameters
durationThe duration of the tween
strengthThe shake strength
vibratoIndicates how much will the shake vibrate
randomnessIndicates how much the shake will be random (0 to 180 - values higher than 90 kind of suck, so beware). Setting it to 0 will shake along a single direction.
static Tweener DOShakeRotation ( this Camera  target,
float  duration,
float  strength = 90,
int  vibrato = 10,
float  randomness = 90 
)
static

Shakes a Camera's localRotation. Also stores the camera as the tween's target so it can be used for filtered operations

Parameters
durationThe duration of the tween
strengthThe shake strength
vibratoIndicates how much will the shake vibrate
randomnessIndicates how much the shake will be random (0 to 180 - values higher than 90 kind of suck, so beware). Setting it to 0 will shake along a single direction.
static Tweener DOShakeScale ( this Transform  target,
float  duration,
float  strength = 1,
int  vibrato = 10,
float  randomness = 90 
)
static

Shakes a Transform's localScale.

Parameters
durationThe duration of the tween
strengthThe shake strength
vibratoIndicates how much will the shake vibrate
randomnessIndicates how much the shake will be random (0 to 180 - values higher than 90 kind of suck, so beware). Setting it to 0 will shake along a single direction.
static int DOTogglePause ( this Transform  target)
static

Toggles the paused state (plays if it was paused, pauses if it was playing) of all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens involved.

static int DOTogglePause ( this Rigidbody  target)
static

Toggles the paused state (plays if it was paused, pauses if it was playing) of all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens involved.

static int DOTogglePause ( this Material  target)
static

Toggles the paused state (plays if it was paused, pauses if it was playing) of all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens involved.

static int DOTogglePause ( this Camera  target)
static

Toggles the paused state (plays if it was paused, pauses if it was playing) of all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens involved.