void Start() { puntuacion = this; puntaje = 0; puntajeMaximo = PlayerPrefs.GetInt("puntajeMaximo", 0); textoPuntaje = GameObject.Find("Texto_Puntaje").GetComponent <Text>(); textoPuntajeMax = GameObject.Find("Texto_PuntajeMax").GetComponent <Text>(); }
private void puntuacionesButton_Click(object sender, EventArgs e) { Puntuaciones puntuaciones = new Puntuaciones(); puntuaciones.Show(); }