Example #1
0
        private void TestBase()
        {
            var timer = _timeManager.Call(1.0f, () => {
                Logger.Log("Pause Call");
            });

            timer.Pause();

            _timeManager.Call(1.5f, () => {
                Logger.Log("call timer");
            });

            _timeManager.Call(3.0f, () => {
                Logger.Log("Second Call");
                timer.Resume();
            });

            _timeManager.PauseAll();
            _timeManager.Call(1.0f, _timeManager.ResumeAll);
        }
 public void PauseAll()
 {
     _baseTimeManager.PauseAll();
     Logger.Log("Pause all timers");
 }