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