Tween component, created by HOTween for each separate tween. More...
Public Member Functions | |
void | Play (bool p_skipDelay) |
Resumes this Tweener. | |
void | PlayForward (bool p_skipDelay) |
Resumes this Tweener and plays it forward. | |
override void | Rewind () |
Rewinds this Tweener (loops and tween delay included), and pauses it. | |
void | Rewind (bool p_skipDelay) |
Rewinds this Tweener (loops included), and pauses it. | |
override void | Restart () |
Restarts this Tweener from the beginning (loops and tween delay included). | |
void | Restart (bool p_skipDelay) |
Restarts this Tweener from the beginning (loops and tween delay included). | |
void | ResetAndChangeParms (TweenType p_tweenType, float p_newDuration, TweenParms p_newParms) |
Completely resets the Tweener except its target, and applies a new TweenType, duration, and TweenParms. | |
override bool | IsTweening (object p_target) |
Returns true if the given target and this Tweener target are the same, and the Tweener is running. Returns false both if the given target is not the same as this Tweener's, than if this Tweener is paused. This method is here to uniform Tweener with Sequence. | |
override bool | IsTweening (string p_id) |
Returns true if the tween with the given string id is currently involved in a running tween or sequence. This method is here to uniform Tweener with Sequence. | |
override bool | IsTweening (int p_id) |
Returns true if the tween with the given int id is currently involved in a running tween or sequence. This method is here to uniform Tweener with Sequence. | |
override bool | IsLinkedTo (object p_target) |
Returns true if the given target and this Tweener target are the same. This method is here to uniform Tweener with Sequence. | |
override List< object > | GetTweenTargets () |
Returns a list containing the target of this tween. | |
Vector3 | GetPointOnPath (float t) |
If this Tweener contains a PlugVector3Path tween, returns a point on the path at the given percentage (0 to 1). Returns a zero Vector if there's no path tween associated with this tween. Note that, if the tween wasn't started, the OnStart callback will be called the first time you call this method, because the tween needs to be initialized. | |
Tweener | UsePartialPath (int p_waypointId0, int p_waypointId1) |
If this Tweener contains a PlugVector3Path tween, defines a portion of that path to use and re-adapt to (easing included), also re-adapting the duration to the correct partial, and rewinds/restarts the tween in its partial form (depending if it was paused or not). | |
Tweener | UsePartialPath (int p_waypointId0, int p_waypointId1, float p_newDuration) |
If this Tweener contains a PlugVector3Path tween, defines a portion of that path to use and re-adapt to (easing included), and rewinds/restarts the tween in its partial form (depending if it was paused or not). | |
Tweener | UsePartialPath (int p_waypointId0, int p_waypointId1, EaseType p_newEaseType) |
If this Tweener contains a PlugVector3Path tween, defines a portion of that path to use and re-adapt to (easing included), and rewinds/restarts the tween in its partial form (depending if it was paused or not). | |
Tweener | UsePartialPath (int p_waypointId0, int p_waypointId1, float p_newDuration, EaseType p_newEaseType) |
If this Tweener contains a PlugVector3Path tween, defines a portion of that path to use and re-adapt to, and rewinds/restarts the tween in its partial form (depending if it was paused or not). | |
void | ResetPath () |
If this Tweener contains a PlugVector3Path tween that had been partialized, returns it to its original size, easing, and duration, and rewinds/restarts the tween in its partial form (depending if it was paused or not). | |
void | Kill () |
Kills this Tweener/Sequence, removes it from HOTween, and cleans it. | |
void | Play () |
Resumes this Tweener/Sequence (tween delay included). | |
void | PlayForward () |
Resumes this Tweener/Sequence (tween delay included) and plays it forward. | |
void | PlayBackwards () |
Resumes this Tweener/Sequence and plays it backwards. | |
void | Pause () |
Pauses this Tweener/Sequence. | |
void | Reverse (bool p_forcePlay=false) |
Reverses this Tweener/Sequence, animating it backwards from its curren position. | |
void | Complete () |
Completes this Tweener/Sequence. Where a loop was involved, the Tweener/Sequence completes at the position where it would actually be after the set number of loops. If there were infinite loops, this method will have no effect. | |
bool | GoTo (float p_time) |
Sends the Tweener/Sequence to the given time (taking also loops into account). If the time is bigger than the total Tweener/Sequence duration, it goes to the end. | |
bool | GoTo (float p_time, bool p_forceUpdate) |
Sends the Tweener/Sequence to the given time (taking also loops into account). If the time is bigger than the total Tweener/Sequence duration, it goes to the end. | |
bool | GoToAndPlay (float p_time) |
Sends the Tweener/Sequence to the given time (taking also loops into account) and plays it. If the time is bigger than the total Tweener/Sequence duration, it goes to the end. | |
bool | GoToAndPlay (float p_time, bool p_forceUpdate) |
Sends the Tweener/Sequence to the given time (taking also loops into account) and plays it. If the time is bigger than the total Tweener/Sequence duration, it goes to the end. | |
IEnumerator | WaitForCompletion () |
A coroutine that waits until the Tweener/Sequence is complete (delays and loops included). You can use it inside a coroutine as a yield. Ex: yield return StartCoroutine( myTweenComponent.WaitForCompletion() );. | |
IEnumerator | WaitForRewind () |
A coroutine that waits until the Tweener/Sequence is rewinded (loops included). You can use it inside a coroutine as a yield. Ex: yield return StartCoroutine( myTweenComponent.WaitForRewind() );. | |
void | ApplyCallback (CallbackType p_callbackType, TweenDelegate.TweenCallback p_callback) |
Assigns the given callback to this Tweener/Sequence, overwriting any existing callbacks of the same type. | |
void | ApplyCallback (CallbackType p_callbackType, TweenDelegate.TweenCallbackWParms p_callback, params object[] p_callbackParms) |
Assigns the given callback to this Tweener/Sequence, overwriting any existing callbacks of the same type. | |
void | ApplyCallback (CallbackType p_callbackType, GameObject p_sendMessageTarget, string p_methodName, object p_value, SendMessageOptions p_options=SendMessageOptions.RequireReceiver) |
Assigns the given callback to this Tweener/Sequence, overwriting any existing callbacks of the same type. This overload will use sendMessage to call the method named p_methodName on every MonoBehaviour in the p_sendMessageTarget GameObject. | |
Properties | |
bool | isFrom [get, set] |
Indicates whether this is a FROM or a TO tween. | |
EaseType | easeType [get, set] |
Ease type of this tweener (consider that the plugins you have set might have different ease types). Setting it will change the ease of all the plugins used by this tweener. | |
AnimationCurve | easeAnimationCurve [get, set] |
Ease type of this tweener (consider that the plugins you have set might have different ease types). Setting it will change the ease of all the plugins used by this tweener. | |
float | easeOvershootOrAmplitude [get, set] |
Eventual overshoot to use with Back easeTypes. | |
float | easePeriod [get, set] |
Eventual period to use with Elastic easeTypes. | |
object | target [get] |
Target of this tween. | |
bool | pixelPerfect [get] |
true if this tween is animated via integers values only. | |
bool | speedBased [get] |
true if this tween is animated by speed instead than by duration. | |
float | delay [get] |
The delay that was set for this tween. | |
float | elapsedDelay [get] |
The currently elapsed delay time. | |
string | id [get, set] |
Eventual string ID of this Tweener/Sequence (more than one Tweener/Sequence can share the same ID, thus allowing for grouped operations). You can also use intId instead of id for faster operations. | |
int | intId [get, set] |
Eventual int ID of this Tweener/Sequence (more than one Tweener/Sequence can share the same intId, thus allowing for grouped operations). The main difference from id is that while id is more legible, intId allows for faster operations. | |
bool | autoKillOnComplete [get, set] |
Default is true , which means this Tweener/Sequence will be killed and removed from HOTween as soon as it's completed. If false doesn't remove this Tweener/Sequence from HOTween when it is completed, and you will need to call an HOTween.Kill to remove this Tweener/Sequence. | |
bool | enabled [get, set] |
Default is true . If set to false , this Tweener/Sequence will not be updated, and any use of animation methods (Play/Pause/Rewind/etc) will be ignored (both if called directly via this instance, than if using HOTween.Play/Pause/Rewind/etc.). | |
float | timeScale [get, set] |
Time scale that will be used by this Tweener/Sequence. | |
int | loops [get, set] |
Number of times the Tweener/Sequence will run (-1 means the tween has infinite loops). | |
LoopType | loopType [get, set] |
Type of loop for this Tweener/Sequence, in case loops is greater than 1 (or infinite). | |
float | position [get, set] |
Gets and sets the time position of the Tweener/Sequence (loops are included when not infinite, delay is not). | |
float | duration [get] |
Duration of this Tweener/Sequence, loops and tween delay excluded. | |
float | fullDuration [get] |
Full duration of this Tweener/Sequence, loops included (when not infinite) but tween delay excluded. | |
float | elapsed [get] |
Elapsed time within the current loop (tween delay excluded). | |
float | fullElapsed [get] |
Full elapsed time including loops (but without considering tween delay). | |
UpdateType | updateType [get] |
The update type for this Tweener/Sequence. | |
int | completedLoops [get] |
Number of loops that have been executed. | |
bool | destroyed [get] |
Returns a value of true if this Tweener/Sequence was destroyed (either because it was manually destroyed, because it was completed, or because its target was destroyed). | |
bool | isEmpty [get] |
Returns a value of true if this Tweener/Sequence contains no tweens (if this is a tween, it means that no valid property to tween was set; if this is a sequence, it means no valid Tweener was yet added). | |
bool | isReversed [get] |
Returns a value of true if this Tweener/Sequence is set to go backwards (because of a call to Reverse . | |
bool | isLoopingBack [get] |
Returns a value of true when this Tweener/Sequence is in the "going backwards" part of a Yoyo loop. | |
bool | isPaused [get] |
Returns a value of true if this Tweener/Sequence is paused. | |
bool | hasStarted [get] |
Returns a value of true after this Tweener/Sequence was started the first time, or if a call to GoTo or GoToAndPlay was executed. | |
bool | isComplete [get] |
Returns a value of true when this Tweener/Sequence is complete. | |
bool | isSequenced [get] |
Returns a value of true if this Tweener/Sequence was added to a Sequence. |
Tween component, created by HOTween for each separate tween.
Author: Daniele Giardini (http://www.holoville.com)
void ApplyCallback | ( | CallbackType | p_callbackType, |
TweenDelegate.TweenCallback | p_callback | ||
) | [inherited] |
Assigns the given callback to this Tweener/Sequence, overwriting any existing callbacks of the same type.
p_callbackType | The type of callback to apply |
p_callback | The function to call, who must return void and accept no parameters |
Implements IHOTweenComponent.
void ApplyCallback | ( | CallbackType | p_callbackType, |
TweenDelegate.TweenCallbackWParms | p_callback, | ||
params object[] | p_callbackParms | ||
) | [inherited] |
Assigns the given callback to this Tweener/Sequence, overwriting any existing callbacks of the same type.
p_callbackType | The type of callback to apply |
p_callback | The function to call. It must return void and has to accept a single parameter of type TweenEvent |
p_callbackParms | Additional comma separated parameters to pass to the function |
Implements IHOTweenComponent.
void ApplyCallback | ( | CallbackType | p_callbackType, |
GameObject | p_sendMessageTarget, | ||
string | p_methodName, | ||
object | p_value, | ||
SendMessageOptions | p_options = SendMessageOptions.RequireReceiver |
||
) | [inherited] |
Assigns the given callback to this Tweener/Sequence, overwriting any existing callbacks of the same type. This overload will use sendMessage to call the method named p_methodName on every MonoBehaviour in the p_sendMessageTarget GameObject.
p_callbackType | The type of callback to apply |
p_sendMessageTarget | GameObject to target for sendMessage |
p_methodName | Name of the method to call |
p_value | Eventual additional parameter |
p_options | SendMessageOptions |
void Complete | ( | ) | [inherited] |
Completes this Tweener/Sequence. Where a loop was involved, the Tweener/Sequence completes at the position where it would actually be after the set number of loops. If there were infinite loops, this method will have no effect.
Implements IHOTweenComponent.
Vector3 GetPointOnPath | ( | float | t | ) |
If this Tweener contains a PlugVector3Path tween, returns a point on the path at the given percentage (0 to 1). Returns a zero Vector
if there's no path tween associated with this tween. Note that, if the tween wasn't started, the OnStart callback will be called the first time you call this method, because the tween needs to be initialized.
t | The percentage (0 to 1) at which to get the point |
override List<object> GetTweenTargets | ( | ) | [virtual] |
Returns a list containing the target of this tween.
Implements ABSTweenComponent.
bool GoTo | ( | float | p_time | ) | [inherited] |
Sends the Tweener/Sequence to the given time (taking also loops into account). If the time is bigger than the total Tweener/Sequence duration, it goes to the end.
p_time | The time where the Tweener/Sequence should be sent. |
true
if the Tweener/Sequence reached its end and was completed. Implements IHOTweenComponent.
bool GoTo | ( | float | p_time, |
bool | p_forceUpdate | ||
) | [inherited] |
Sends the Tweener/Sequence to the given time (taking also loops into account). If the time is bigger than the total Tweener/Sequence duration, it goes to the end.
p_time | The time where the Tweener/Sequence should be sent. |
p_forceUpdate | By default, if a Tweener/Sequence is already at the exact given time, it will not be refreshed. Setting this to true will force it to refresh (useful only if you want to be sure that any changes you made to the tweened property, outside of HOTween, are reset). |
true
if the Tweener/Sequence reached its end and was completed. bool GoToAndPlay | ( | float | p_time | ) | [inherited] |
Sends the Tweener/Sequence to the given time (taking also loops into account) and plays it. If the time is bigger than the total Tweener/Sequence duration, it goes to the end.
p_time | The time where the Tweener/Sequence should be sent. |
true
if the Tweener/Sequence reached its end and was completed. Implements IHOTweenComponent.
bool GoToAndPlay | ( | float | p_time, |
bool | p_forceUpdate | ||
) | [inherited] |
Sends the Tweener/Sequence to the given time (taking also loops into account) and plays it. If the time is bigger than the total Tweener/Sequence duration, it goes to the end.
p_time | The time where the Tweener/Sequence should be sent. |
p_forceUpdate | By default, if a Tweener/Sequence is already at the exact given time, it will not be refreshed. Setting this to true will force it to refresh (useful only if you want to be sure that any changes you made to the tweened property, outside of HOTween, are reset). |
true
if the Tweener/Sequence reached its end and was completed. override bool IsLinkedTo | ( | object | p_target | ) | [virtual] |
Returns true
if the given target and this Tweener target are the same. This method is here to uniform Tweener with Sequence.
p_target | The target to check. |
true
if the given target and this Tweener target are the same. Implements ABSTweenComponent.
override bool IsTweening | ( | object | p_target | ) | [virtual] |
Returns true
if the given target and this Tweener target are the same, and the Tweener is running. Returns false
both if the given target is not the same as this Tweener's, than if this Tweener is paused. This method is here to uniform Tweener with Sequence.
p_target | The target to check. |
Implements ABSTweenComponent.
override bool IsTweening | ( | string | p_id | ) | [virtual] |
Returns true
if the tween with the given string id is currently involved in a running tween or sequence. This method is here to uniform Tweener with Sequence.
p_id | The id to check for. |
Implements ABSTweenComponent.
override bool IsTweening | ( | int | p_id | ) | [virtual] |
Returns true
if the tween with the given int id is currently involved in a running tween or sequence. This method is here to uniform Tweener with Sequence.
p_id | The id to check for. |
Implements ABSTweenComponent.
void Kill | ( | ) | [inherited] |
Kills this Tweener/Sequence, removes it from HOTween, and cleans it.
Implements IHOTweenComponent.
void Pause | ( | ) | [inherited] |
Pauses this Tweener/Sequence.
Implements IHOTweenComponent.
void Play | ( | bool | p_skipDelay | ) |
Resumes this Tweener.
p_skipDelay | If true skips any initial delay. |
void Play | ( | ) | [inherited] |
Resumes this Tweener/Sequence (tween delay included).
Implements IHOTweenComponent.
void PlayBackwards | ( | ) | [inherited] |
Resumes this Tweener/Sequence and plays it backwards.
Implements IHOTweenComponent.
void PlayForward | ( | bool | p_skipDelay | ) |
Resumes this Tweener and plays it forward.
p_skipDelay | If true skips any initial delay. |
void PlayForward | ( | ) | [inherited] |
Resumes this Tweener/Sequence (tween delay included) and plays it forward.
Implements IHOTweenComponent.
void ResetAndChangeParms | ( | TweenType | p_tweenType, |
float | p_newDuration, | ||
TweenParms | p_newParms | ||
) |
Completely resets the Tweener except its target, and applies a new TweenType, duration, and TweenParms.
p_tweenType | New tween type (to/from) |
p_newDuration | New duration |
p_newParms | New parameters |
void ResetPath | ( | ) |
If this Tweener contains a PlugVector3Path tween that had been partialized, returns it to its original size, easing, and duration, and rewinds/restarts the tween in its partial form (depending if it was paused or not).
override void Restart | ( | ) | [virtual] |
Restarts this Tweener from the beginning (loops and tween delay included).
Implements ABSTweenComponent.
void Restart | ( | bool | p_skipDelay | ) |
Restarts this Tweener from the beginning (loops and tween delay included).
p_skipDelay | If true skips any initial delay. |
void Reverse | ( | bool | p_forcePlay = false | ) | [inherited] |
Reverses this Tweener/Sequence, animating it backwards from its curren position.
p_forcePlay | If TRUE, the tween will also start playing in case it was paused, otherwise it will maintain its current play/pause state (default). |
Implements IHOTweenComponent.
override void Rewind | ( | ) | [virtual] |
Rewinds this Tweener (loops and tween delay included), and pauses it.
Implements ABSTweenComponent.
void Rewind | ( | bool | p_skipDelay | ) |
Rewinds this Tweener (loops included), and pauses it.
p_skipDelay | If true skips any initial delay. |
Tweener UsePartialPath | ( | int | p_waypointId0, |
int | p_waypointId1 | ||
) |
If this Tweener contains a PlugVector3Path tween, defines a portion of that path to use and re-adapt to (easing included), also re-adapting the duration to the correct partial, and rewinds/restarts the tween in its partial form (depending if it was paused or not).
p_waypointId0 | Id of the new starting waypoint on the current path. If you want to be sure you're targeting the first point in the path, pass -1 (this is because the first waypoint of the path might be different from the first waypoint you passed, in case the target Transform was not already on the starting position, and thus needed to reach it). |
p_waypointId1 | Id of the new ending waypoint on the current path |
Tweener UsePartialPath | ( | int | p_waypointId0, |
int | p_waypointId1, | ||
float | p_newDuration | ||
) |
If this Tweener contains a PlugVector3Path tween, defines a portion of that path to use and re-adapt to (easing included), and rewinds/restarts the tween in its partial form (depending if it was paused or not).
p_waypointId0 | Id of the new starting waypoint on the current path. If you want to be sure you're targeting the first point in the path, pass -1 (this is because the first waypoint of the path might be different from the first waypoint you passed, in case the target Transform was not already on the starting position, and thus needed to reach it). |
p_waypointId1 | Id of the new ending waypoint on the current path |
p_newDuration | Tween duration of the partial path (if -1 auto-calculates the correct partial based on the original duration) |
Tweener UsePartialPath | ( | int | p_waypointId0, |
int | p_waypointId1, | ||
EaseType | p_newEaseType | ||
) |
If this Tweener contains a PlugVector3Path tween, defines a portion of that path to use and re-adapt to (easing included), and rewinds/restarts the tween in its partial form (depending if it was paused or not).
p_waypointId0 | Id of the new starting waypoint on the current path. If you want to be sure you're targeting the first point in the path, pass -1 (this is because the first waypoint of the path might be different from the first waypoint you passed, in case the target Transform was not already on the starting position, and thus needed to reach it). |
p_waypointId1 | Id of the new ending waypoint on the current path |
p_newEaseType | New EaseType to apply |
Tweener UsePartialPath | ( | int | p_waypointId0, |
int | p_waypointId1, | ||
float | p_newDuration, | ||
EaseType | p_newEaseType | ||
) |
If this Tweener contains a PlugVector3Path tween, defines a portion of that path to use and re-adapt to, and rewinds/restarts the tween in its partial form (depending if it was paused or not).
p_waypointId0 | Id of the new starting waypoint on the current path. If you want to be sure you're targeting the first point in the path, pass -1 (this is because the first waypoint of the path might be different from the first waypoint you passed, in case the target Transform was not already on the starting position, and thus needed to reach it). |
p_waypointId1 | Id of the new ending waypoint on the current path (-1 in case you want to target the ending waypoint of a closed path) |
p_newDuration | Tween duration of the partial path (if -1 auto-calculates the correct partial based on the original duration) |
p_newEaseType | New EaseType to apply |
IEnumerator WaitForCompletion | ( | ) | [inherited] |
A coroutine that waits until the Tweener/Sequence is complete (delays and loops included). You can use it inside a coroutine as a yield. Ex: yield return StartCoroutine( myTweenComponent.WaitForCompletion() );.
Implements IHOTweenComponent.
IEnumerator WaitForRewind | ( | ) | [inherited] |
A coroutine that waits until the Tweener/Sequence is rewinded (loops included). You can use it inside a coroutine as a yield. Ex: yield return StartCoroutine( myTweenComponent.WaitForRewind() );.
Implements IHOTweenComponent.
bool autoKillOnComplete [get, set, inherited] |
Default is true
, which means this Tweener/Sequence will be killed and removed from HOTween as soon as it's completed. If false
doesn't remove this Tweener/Sequence from HOTween when it is completed, and you will need to call an HOTween.Kill
to remove this Tweener/Sequence.
Implements IHOTweenComponent.
int completedLoops [get, inherited] |
Number of loops that have been executed.
Implements IHOTweenComponent.
float delay [get] |
The delay that was set for this tween.
bool destroyed [get, inherited] |
Returns a value of true
if this Tweener/Sequence was destroyed (either because it was manually destroyed, because it was completed, or because its target was destroyed).
float duration [get, inherited] |
Duration of this Tweener/Sequence, loops and tween delay excluded.
Implements IHOTweenComponent.
AnimationCurve easeAnimationCurve [get, set] |
Ease type of this tweener (consider that the plugins you have set might have different ease types). Setting it will change the ease of all the plugins used by this tweener.
float easeOvershootOrAmplitude [get, set] |
Eventual overshoot to use with Back easeTypes.
float easePeriod [get, set] |
Eventual period to use with Elastic easeTypes.
Ease type of this tweener (consider that the plugins you have set might have different ease types). Setting it will change the ease of all the plugins used by this tweener.
float elapsed [get, inherited] |
Elapsed time within the current loop (tween delay excluded).
Implements IHOTweenComponent.
float elapsedDelay [get] |
The currently elapsed delay time.
bool enabled [get, set, inherited] |
Default is true
. If set to false
, this Tweener/Sequence will not be updated, and any use of animation methods (Play/Pause/Rewind/etc) will be ignored (both if called directly via this instance, than if using HOTween.Play/Pause/Rewind/etc.).
Implements IHOTweenComponent.
float fullDuration [get, inherited] |
Full duration of this Tweener/Sequence, loops included (when not infinite) but tween delay excluded.
Implements IHOTweenComponent.
float fullElapsed [get, inherited] |
Full elapsed time including loops (but without considering tween delay).
Implements IHOTweenComponent.
bool hasStarted [get, inherited] |
Returns a value of true
after this Tweener/Sequence was started the first time, or if a call to GoTo
or GoToAndPlay
was executed.
Implements IHOTweenComponent.
string id [get, set, inherited] |
Eventual string ID of this Tweener/Sequence (more than one Tweener/Sequence can share the same ID, thus allowing for grouped operations). You can also use intId
instead of id
for faster operations.
Implements IHOTweenComponent.
int intId [get, set, inherited] |
Eventual int ID of this Tweener/Sequence (more than one Tweener/Sequence can share the same intId, thus allowing for grouped operations). The main difference from id
is that while id
is more legible, intId
allows for faster operations.
Implements IHOTweenComponent.
bool isComplete [get, inherited] |
Returns a value of true
when this Tweener/Sequence is complete.
Implements IHOTweenComponent.
bool isEmpty [get, inherited] |
Returns a value of true
if this Tweener/Sequence contains no tweens (if this is a tween, it means that no valid property to tween was set; if this is a sequence, it means no valid Tweener was yet added).
Implements IHOTweenComponent.
bool isFrom [get, set] |
Indicates whether this is a FROM or a TO tween.
bool isLoopingBack [get, inherited] |
Returns a value of true
when this Tweener/Sequence is in the "going backwards" part of a Yoyo loop.
Implements IHOTweenComponent.
bool isPaused [get, inherited] |
Returns a value of true
if this Tweener/Sequence is paused.
Implements IHOTweenComponent.
bool isReversed [get, inherited] |
Returns a value of true
if this Tweener/Sequence is set to go backwards (because of a call to Reverse
.
Implements IHOTweenComponent.
bool isSequenced [get, inherited] |
Returns a value of true
if this Tweener/Sequence was added to a Sequence.
Implements IHOTweenComponent.
int loops [get, set, inherited] |
Number of times the Tweener/Sequence will run (-1
means the tween has infinite loops).
Implements IHOTweenComponent.
Type of loop for this Tweener/Sequence, in case loops is greater than 1 (or infinite).
Implements IHOTweenComponent.
bool pixelPerfect [get] |
true
if this tween is animated via integers values only.
float position [get, set, inherited] |
Gets and sets the time position of the Tweener/Sequence (loops are included when not infinite, delay is not).
Implements IHOTweenComponent.
bool speedBased [get] |
true
if this tween is animated by speed instead than by duration.
object target [get] |
Target of this tween.
float timeScale [get, set, inherited] |
Time scale that will be used by this Tweener/Sequence.
Implements IHOTweenComponent.
UpdateType updateType [get, inherited] |
The update type for this Tweener/Sequence.
Implements IHOTweenComponent.