Ejemplo n.º 1
0
 // Update is called once per frame
 void Update()
 {
     score     = PlayerPrefs.GetInt("Tempscore", 0);
     Highest   = PlayerPrefs.GetInt("level2", 0);
     text.text = "Score: " + score.ToString() + "\nHighest Score: " + Highest.ToString();
 }