Exemplo n.º 1
0
 private void RemoveGameLoop()
 {
     Editor.Services.Unregister(typeof(IGameTimer));
     _timer.Stop();
     _timer = null;
     ComponentDispatcher.ThreadIdle -= OnApplicationIdle;
     CompositionTarget.Rendering    -= OnCompositionTargetRendering;
     _clock.Stop();
     _clock = null;
 }
Exemplo n.º 2
0
 public float Stop(bool resetOnStop)
 {
     return(timer.Stop(resetOnStop));
 }