DoopelPonger
|
Event listener to change the timescale based on game events. For example, a player dies. More...
Public Member Functions | |
void | Awake () |
void | FixedUpdate () |
Public Attributes | |
float | playerDeathSlowmoTime |
Event listener to change the timescale based on game events. For example, a player dies.
void TimeChangeEventManager.Awake | ( | ) |
Set up the listeners for the events that should trigger slowmotion.
void TimeChangeEventManager.FixedUpdate | ( | ) |
Check to see if it is time to set the time scale back to 1 after an event to trigger slow motion.
float TimeChangeEventManager.playerDeathSlowmoTime |
The amount of time to stay in slow motion when a player dies.