// Start is called before the first frame update void Start() { this.ball = GameObject.Find("Ball").GetComponent <BallArkanoid>(); this.gameOverText.enabled = false; this.gameWinText.enabled = false; this.highscoreText.text = "MEJOR: " + PlayerPrefs.GetFloat("highscore", 9999).ToString("N2"); }
// Start is called before the first frame update void Start() { ball = GameObject.Find("Ball").GetComponent <BallArkanoid>(); highScoreText.text = "Best: " + PlayerPrefs.GetFloat("highscore", 9999).ToString("N2"); }