TimerManager provides a easy way to set, operate and remove timer.
Add TimerManager script as a component
Add a custom timer.
If timerName is existing, this would only add callback to the timer with the name of timerName.
TimerManager.Instance.AddTimer(timerName, 3.0f, MyCallback, autoRemove:false);
Pause a timer
TimerManager.Instance.SetTimerPause("TimerName", true);
Resume a timer
TimerManager.Instance.SetTimerPause("TimerName", false);
Preset Timer
Add callback to preset(existing) timers
TimerManager.Instance.AddTimerCallback("1Sec", MyCallback);