public void HandleLevelFailed() { audioController.PlayPlayerDefeated(); playerLoseStatus = true; EnableLevelFailedPanel(); Time.timeScale = 0; playerPrefsController.AttemptToUpdateHighScore(waveController.GetCurrentWaveIndex()); defenderGrid.DestroyAllDefenders(); UpdateCurrentWaveText(); UpdateHighScoreText(); waveController.ResetWaveIndex(); }