/// <summary> /// Pauses the game, disables the playermovement script. /// </summary> public void Pause() { Time.timeScale = 0; playerMove.enabled = false; AkSoundEngine.Suspend(true); leftLight.Stop(); rightLight.Stop(); }