void End() { DisableAndroidButtons(); fuelGauge.SetActive(false); retryButton.gameObject.SetActive(true); pauseButton.gameObject.SetActive(false); audioManager.GetAudio("Music").source.Stop(); if (player.Score > scoreboard.HighestScore) { audioManager.PlayAudio("Win"); NewHighscoreText.gameObject.SetActive(true); } else { audioManager.PlayAudio("Lose"); diedText.gameObject.SetActive(true); } scoreboard.AddHighScoreEntry(player.Score); }