Cooldown helper
More...
Cooldown helper
- Deprecated:
- use Delay instead
◆ Cooldown()
UnityPlatformer.Cooldown.Cooldown |
( |
float |
timeInSeconds | ) |
|
|
inline |
◆ Clear()
void UnityPlatformer.Cooldown.Clear |
( |
| ) |
|
|
inline |
◆ LatePlatformerUpdate()
void UnityPlatformer.Cooldown.LatePlatformerUpdate |
( |
float |
delta | ) |
|
|
inline |
◆ PlatformerUpdate()
void UnityPlatformer.Cooldown.PlatformerUpdate |
( |
float |
delta | ) |
|
|
inline |
◆ Ready()
bool UnityPlatformer.Cooldown.Ready |
( |
| ) |
|
|
inline |
Is ready? cooldown expired?
◆ Reset()
void UnityPlatformer.Cooldown.Reset |
( |
| ) |
|
|
inline |
◆ Set()
void UnityPlatformer.Cooldown.Set |
( |
float |
timeInSeconds | ) |
|
|
inline |
◆ counter
float UnityPlatformer.Cooldown.counter |
|
protected |
◆ onReady
Action UnityPlatformer.Cooldown.onReady |
◆ onReset
Action UnityPlatformer.Cooldown.onReset |
◆ seconds
float UnityPlatformer.Cooldown.seconds |
|
protected |
◆ wasReady
bool UnityPlatformer.Cooldown.wasReady = false |
|
protected |
boolean to keep track of when fire the callbacks
The documentation for this class was generated from the following file:
- Assets/UnityPlatformer/Scripts/Utils/Cooldown.cs