RaTweening 1.0.0
|
The Component that allows for making Tweens within the editor. This component is used to create tweens without code or have visual designers create tweens which are triggered by code This system uses RaTweening.Core.Elements.RaTweenerElementBase inheritors to serialize the data of tweens More...
Public Types | |
enum | PlayOption |
These enum values represent the options on which trigger the tween of the component should play Based on the Progressor chosen, the Play option will override the current tween or not | |
enum | StopOption |
These enum values represent the options on which trigger the tween of the component should stop | |
enum | Progressor |
These enum values represent what the PlayOption and StopOption will do on their triggers | |
Public Member Functions | |
void | EditorPlay () |
Plays the tween of the component without a return value so it can be referenced in UnityEvents
| |
void | EditorPause () |
Pauses the tween of the component if it is playing without a return value so it can be referenced in UnityEvents
| |
void | EditorResumeOrPlay () |
Resumes the currently paused tween without a return value so it can be referenced in UnityEvents If the tween is no longer active due to completion or destruction, it plays a new tween instance.
| |
void | EditorResume () |
Attempts to resume to paused tween of this component if able, without a return value so it can be referenced in UnityEvents
| |
void | EditorStop (bool rewind) |
Attempts to Stop the currently active tween if able, without a return value so it can be referenced in UnityEvents More... | |
void | EditorReset () |
Attempts to Reset the currently active tween if able, without a return value so it can be referenced in UnityEvents
| |
void | EditorRewind () |
Attempts to Rewind the currently active tween if able, without a return value so it can be referenced in UnityEvents
| |
RaTweenBase | CreateTweenInstance () |
Create an instance of the tween defined within the component More... | |
RaTweenBase | Play () |
Plays the tween of the component
| |
bool | Pause () |
Pauses the tween of the component if it is playing More... | |
RaTweenBase | ResumeOrPlay () |
Resumes the currently paused tween. If the tween is no longer active due to completion or destruction, it plays a new tween instance.
| |
bool | Resume () |
Attempts to resume the paused tween of this component if able. More... | |
bool | Rewind (bool inclDelay=true) |
Attempts to rewind tween of this component if able. More... | |
bool | Reset (bool resumeAfterReset=false) |
Attempts to reset tween of this component if able. More... | |
bool | Stop (bool rewind=false) |
Attempts to Stop the currently active tween if able If reset is set to true, it also evaluates the tween to the first evaluation step More... | |
Protected Member Functions | |
void | Awake () |
void | Start () |
void | OnEnable () |
void | OnDisable () |
void | OnDestroy () |
The Component that allows for making Tweens within the editor. This component is used to create tweens without code or have visual designers create tweens which are triggered by code This system uses RaTweening.Core.Elements.RaTweenerElementBase inheritors to serialize the data of tweens
RaTweenBase RaTweening.RaTweenerComponent.CreateTweenInstance | ( | ) |
Create an instance of the tween defined within the component
void RaTweening.RaTweenerComponent.EditorStop | ( | bool | rewind | ) |
Attempts to Stop the currently active tween if able, without a return value so it can be referenced in UnityEvents
Note: without a return value so it can be referenced in UnityEvents
rewind | When set to True, it also evaluates the tween to the first evaluation step |
bool RaTweening.RaTweenerComponent.Pause | ( | ) |
Pauses the tween of the component if it is playing
Note: See RaTweenBase.Pause()
bool RaTweening.RaTweenerComponent.Reset | ( | bool | resumeAfterReset = false | ) |
Attempts to reset tween of this component if able.
Note: With the default parameters, it will act as if the tween was freshly submitted to the system
Note: See RaTweenBase.Reset(bool)
bool RaTweening.RaTweenerComponent.Resume | ( | ) |
Attempts to resume the paused tween of this component if able.
Note: See RaTweenBase.Resume(bool)
bool RaTweening.RaTweenerComponent.Rewind | ( | bool | inclDelay = true | ) |
Attempts to rewind tween of this component if able.
Note: This resets all timers and performs the inital evaluation.
Note: See RaTweenBase.Rewind(bool)
bool RaTweening.RaTweenerComponent.Stop | ( | bool | rewind = false | ) |
Attempts to Stop the currently active tween if able If reset is set to true, it also evaluates the tween to the first evaluation step
rewind | To apply the first evaluation of the tween |