DOTween
0.8.530
|
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... | |
Methods that extend known Unity objects and allow to directly create and control tweens from their instances
|
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
endValue | The end value to reach |
duration | The duration of the tween |
|
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
endValue | The end value to reach |
duration | The duration of the tween |
|
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
endValue | The end value to reach |
property | The name of the color property to tween (like _Tint or _SpecColor) |
duration | The duration of the tween |
|
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
endValue | The end value to reach |
duration | The duration of the tween |
|
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
endValue | The end value to reach |
duration | The duration of the tween |
|
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 |
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 |
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 |
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 |
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.
to | Time position to reach (if higher than the whole tween duration the tween will simply reach its end) |
andPlay | If TRUE will play the tween after reaching the given position, otherwise it will pause it |
|
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.
to | Time position to reach (if higher than the whole tween duration the tween will simply reach its end) |
andPlay | If TRUE will play the tween after reaching the given position, otherwise it will pause it |
|
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.
to | Time position to reach (if higher than the whole tween duration the tween will simply reach its end) |
andPlay | If TRUE will play the tween after reaching the given position, otherwise it will pause it |
|
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.
to | Time position to reach (if higher than the whole tween duration the tween will simply reach its end) |
andPlay | If TRUE will play the tween after reaching the given position, otherwise it will pause it |
|
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
endValue | The end value to reach |
duration | The duration of the tween |
|
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 |
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 |
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 |
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 |
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
endValue | The end value to reach |
duration | The duration of the tween |
|
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
endValue | The end value to reach |
duration | The duration of the tween |
|
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
endValue | The end value to reach |
duration | The duration of the tween |
snapping | If TRUE the tween will smoothly snap all values to integers |
|
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
endValue | The end value to reach |
duration | The duration of the tween |
snapping | If TRUE the tween will smoothly snap all values to integers |
|
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
endValue | The end value to reach |
duration | The duration of the tween |
snapping | If TRUE the tween will smoothly snap all values to integers |
|
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
endValue | The end value to reach |
duration | The duration of the tween |
snapping | If TRUE the tween will smoothly snap all values to integers |
|
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
endValue | The end value to reach |
duration | The duration of the tween |
useShortest360Route | If 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 |
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
towards | The position to look at |
duration | The duration of the tween |
up | The vector that defines in which direction up is (default: Vector3.up) |
|
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
towards | The position to look at |
duration | The duration of the tween |
up | The vector that defines in which direction up is (default: Vector3.up) |
|
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
endValue | The end value to reach |
duration | The duration of the tween |
snapping | If TRUE the tween will smoothly snap all values to integers |
|
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
endValue | The end value to reach |
duration | The duration of the tween |
snapping | If TRUE the tween will smoothly snap all values to integers |
|
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
endValue | The end value to reach |
duration | The duration of the tween |
snapping | If TRUE the tween will smoothly snap all values to integers |
|
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
endValue | The end value to reach |
duration | The duration of the tween |
snapping | If TRUE the tween will smoothly snap all values to integers |
|
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
endValue | The end value to reach |
duration | The duration of the tween |
snapping | If TRUE the tween will smoothly snap all values to integers |
|
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
endValue | The end value to reach |
duration | The duration of the tween |
snapping | If TRUE the tween will smoothly snap all values to integers |
|
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
endValue | The end value to reach |
duration | The duration of the tween |
snapping | If TRUE the tween will smoothly snap all values to integers |
|
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
endValue | The end value to reach |
duration | The duration of the tween |
snapping | If TRUE the tween will smoothly snap all values to integers |
|
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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.
punch | The direction and strength of the punch (added to the Transform's current position) |
duration | The duration of the tween |
vibrato | Indicates how much will the punch vibrate |
elasticity | Represents 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 |
snapping | If TRUE the tween will smoothly snap all values to integers |
|
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.
punch | The punch strength (added to the Transform's current rotation) |
duration | The duration of the tween |
vibrato | Indicates how much will the punch vibrate |
elasticity | Represents 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 |
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.
punch | The punch strength (added to the Transform's current scale) |
duration | The duration of the tween |
vibrato | Indicates how much will the punch vibrate |
elasticity | Represents 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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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
endValue | The end value to reach |
duration | The duration of the tween |
useShortest360Route | If 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 |
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
endValue | The end value to reach |
duration | The duration of the tween |
useShortest360Route | If 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 |
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
endValue | The end value to reach |
duration | The duration of the tween |
|
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
endValue | The end value to reach |
duration | The duration of the tween |
|
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
endValue | The end value to reach |
duration | The duration of the tween |
|
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
endValue | The end value to reach |
duration | The duration of the tween |
|
static |
Shakes a Transform's localPosition with the given values.
duration | The duration of the tween |
strength | The shake strength |
vibrato | Indicates how much will the shake vibrate |
randomness | Indicates 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. |
snapping | If TRUE the tween will smoothly snap all values to integers |
|
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
duration | The duration of the tween |
strength | The shake strength |
vibrato | Indicates how much will the shake vibrate |
randomness | Indicates 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 |
Shakes a Transform's localRotation.
duration | The duration of the tween |
strength | The shake strength |
vibrato | Indicates how much will the shake vibrate |
randomness | Indicates 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 |
Shakes a Camera's localRotation. Also stores the camera as the tween's target so it can be used for filtered operations
duration | The duration of the tween |
strength | The shake strength |
vibrato | Indicates how much will the shake vibrate |
randomness | Indicates 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 |
Shakes a Transform's localScale.
duration | The duration of the tween |
strength | The shake strength |
vibrato | Indicates how much will the shake vibrate |
randomness | Indicates 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 |
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 |
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 |
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 |
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.