public void OnPlayerDied() { thePlayer.gameObject.SetActive(false); theDeathScreen.gameObject.SetActive(true); theDeathScreen.ShowFinalPoints(theScoreManager.GetScoreCount()); theScoreManager.OnPlayerDye(); theScoreManager.HideScores(); }