|
Iuvo Unity 0.5.1
This is library containing a variety of helper classes and extension methods for the Unity gane engine. GitHub | Iuvo Unity Updates | Creator |
Public Member Functions | |
| void | SetDuration (float newDuration) |
| float | Duration () |
| float | Elapsed () |
| float | Remaining () |
| bool | IsRunning (Timer_Activity_Mode activityMode) |
| void | StartTimer () |
| async Task | AwaitFinish () |
| void | UpdateTimer () |
| virtual void | Update () |
| virtual void | FixedUpdate () |
| virtual void | LateUpdate () |
| void | PauseTimer () |
| void | ResumeTimer () |
| void | ResetTimer () |
| void | OnCreate () |
| void | OnDestroy () |
| void | Destroy () |
| void | ConfigureTimer (TimerData timerData) |
| virtual void | OnConfigure () |
| virtual void | OnReconfigure () |
Public Attributes | |
| Timer_Activity_Mode | activityMode |
| Tick_Mode | tickMode |
| MultiTimer | timer |
Properties | |
| bool | Configured [get, set] |
| bool | Reconfigured [get, set] |
Private Member Functions | |
| void | InitTimer () |
| void | Awake () |
| async Task IuvoUnity.DataStructs.Timer.AwaitFinish | ( | ) |
References activityMode, IuvoUnity.Debug.IuvoDebug.DebugLogWarning(), StartTimer(), and timer.
|
private |
| void IuvoUnity.DataStructs.Timer.ConfigureTimer | ( | TimerData | timerData | ) |
References IuvoUnity.Configurations.TimerData.activityMode, activityMode, IuvoUnity.Configurations.TimerData.duration, ResetTimer(), SetDuration(), IuvoUnity.Configurations.TimerData.tickMethod, and tickMode.
Referenced by IuvoUnity.Configurations.TimerConfiguration.Configure(), and IuvoUnity.Configurations.TimerConfiguration.Reconfigure().
| void IuvoUnity.DataStructs.Timer.Destroy | ( | ) |
| float IuvoUnity.DataStructs.Timer.Duration | ( | ) |
References activityMode, and timer.
Referenced by IuvoUnity.IuvoTime.TimeKeeper.FormatTimerDuration().
| float IuvoUnity.DataStructs.Timer.Elapsed | ( | ) |
References activityMode, and timer.
Referenced by IuvoUnity.IuvoTime.TimeKeeper.FormatElapsedTime().
|
virtual |
References tickMode, and UpdateTimer().
|
private |
References timer.
| bool IuvoUnity.DataStructs.Timer.IsRunning | ( | Timer_Activity_Mode | activityMode | ) |
References activityMode, and timer.
|
virtual |
References tickMode, and UpdateTimer().
|
virtual |
Implements IuvoUnity.Interfaces.IConfigurable.
References Configured.
Referenced by IuvoUnity.Configurations.TimerConfiguration.Configure(), and IuvoUnity.IuvoTime.TimerFactory.Create().
| void IuvoUnity.DataStructs.Timer.OnCreate | ( | ) |
Implements IuvoUnity.Interfaces.ICreatable.
Referenced by IuvoUnity.IuvoTime.TimerFactory.Create().
| void IuvoUnity.DataStructs.Timer.OnDestroy | ( | ) |
|
virtual |
Implements IuvoUnity.Interfaces.IReconfigurable.
References Reconfigured.
Referenced by IuvoUnity.Configurations.TimerConfiguration.Reconfigure().
| void IuvoUnity.DataStructs.Timer.PauseTimer | ( | ) |
References activityMode, and timer.
| float IuvoUnity.DataStructs.Timer.Remaining | ( | ) |
References activityMode, and timer.
Referenced by IuvoUnity.IuvoTime.TimeKeeper.FormatRemainingTime().
| void IuvoUnity.DataStructs.Timer.ResetTimer | ( | ) |
References activityMode, and timer.
Referenced by ConfigureTimer().
| void IuvoUnity.DataStructs.Timer.ResumeTimer | ( | ) |
References activityMode, and timer.
| void IuvoUnity.DataStructs.Timer.SetDuration | ( | float | newDuration | ) |
References activityMode, and timer.
Referenced by ConfigureTimer().
| void IuvoUnity.DataStructs.Timer.StartTimer | ( | ) |
References activityMode, and timer.
Referenced by AwaitFinish().
|
virtual |
References tickMode, and UpdateTimer().
| void IuvoUnity.DataStructs.Timer.UpdateTimer | ( | ) |
References activityMode, and timer.
Referenced by FixedUpdate(), LateUpdate(), and Update().
| Timer_Activity_Mode IuvoUnity.DataStructs.Timer.activityMode |
Referenced by AwaitFinish(), ConfigureTimer(), Duration(), Elapsed(), IsRunning(), PauseTimer(), Remaining(), ResetTimer(), ResumeTimer(), SetDuration(), StartTimer(), and UpdateTimer().
| Tick_Mode IuvoUnity.DataStructs.Timer.tickMode |
Referenced by ConfigureTimer(), FixedUpdate(), LateUpdate(), and Update().
| MultiTimer IuvoUnity.DataStructs.Timer.timer |
Referenced by AwaitFinish(), Duration(), Elapsed(), InitTimer(), IsRunning(), OnDestroy(), PauseTimer(), Remaining(), ResetTimer(), ResumeTimer(), SetDuration(), StartTimer(), and UpdateTimer().
|
getset |
|
getset |