// Token: 0x0600343B RID: 13371 RVA: 0x000D6E84 File Offset: 0x000D5084 public void FixedUpdate() { if (Scenes.Manager) { Scenes.Manager.CheckForScenesFinishedLoading(); } if (!GameController.FreezeFixedUpdate) { FixedRandom.FixedUpdateIndex++; FixedRandom.UpdateValues(); } Music.UpdateMusic(); Ambience.UpdateAmbience(); this.GameScheduler.OnGameFixedUpdate.Call(); Respawner.UpdateRespawners(); if (!GameStateMachine.Instance.IsInExtendedTitleScreen() && !UI.MainMenuVisible && (Screen.width != this.m_previousScreenWidth || Screen.height != this.m_previousScreenHeight)) { UI.Menu.ShowResumeScreen(); } this.m_previousScreenWidth = Screen.width; this.m_previousScreenHeight = Screen.height; if (this.m_lastDebugControlsEnabledValue != DebugMenuB.DebugControlsEnabled) { this.m_lastDebugControlsEnabledValue = DebugMenuB.DebugControlsEnabled; } if (!this.IsSuspended) { this.GameTime += Time.deltaTime; } }
// Token: 0x0600342E RID: 13358 RVA: 0x000D6CAC File Offset: 0x000D4EAC private void OnGameAwake() { this.m_restoreCheckpointController = new RestoreCheckpointController(); Frameworks.Shader.Globals.FogGradientRange = 100f; Frameworks.Shader.Globals.FogGradientTexture = Frameworks.Shader.DefaultTextures.Transparent; FixedRandom.UpdateValues(); if (ScenesToSkip.Instance == null) { new ScenesToSkip(); } SaveSceneManager.Master = base.GetComponent <SaveSceneManager>(); }