Esempio n. 1
0
 void UpdateScreenScore()
 {
     finalScoreText.GetComponent <Text>().text = controlClass.GetScore().ToString() + " pontos";
 }
Esempio n. 2
0
//	void PrintArray() {
//		Debug.Log(ordering[0] + " " + ordering[1] + " " + ordering[2] + " " +
//		          ordering[3] + " " + ordering[4] + " " + ordering[5] + " " +
//		          ordering[6] + " " + ordering[7] + "\n" + ordering[8] + " " +
//		          ordering[9] + " " + ordering[10] + " " + ordering[11] + " " +
//		          ordering[12] + " " + ordering[13] + " " + ordering[14] + " " +
//		          ordering[15]);
//		Debug.Log(ordering[16] + " " + ordering[17] + " " +
//		          ordering[18] + " " + ordering[19] + " " + ordering[20] + " " +
//		          ordering[21] + " " + ordering[22] + " " + ordering[23]);
//
//	}

    public void UpdateScoreText()
    {
        score.text = "Pontos:\n" + controlClass.GetScore();
    }