Beispiel #1
0
 // 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");
 }
Beispiel #2
0
 // 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");
 }