public static void EndGame() { controlling = false; playing = false; audioController.PlayExplosion(); audioController.StopAmbient(); uiStateManager.GameOver(); playerController.gameObject.SetActive(false); }