static void InitStaticVariables() { s_mode = GameTimeMode.UnityStandard; s_manualTime = 0; s_manualDeltaTime = 0; s_manualPaused = false; }
/// <summary> /// Inits the GameTime given its mode. /// Starts the internal stopwatch. /// </summary> public GameTime(GameTimeMode mode = GameTimeMode.Stopwatch) { this.Mode = mode; this.stopwatch = new Stopwatch(); this.stopwatch.Start(); }