Exemple #1
0
 void OnGUI()
 {
     if (livesControllerScript != null)
     {
         GUI.Label(new Rect(10, 0, 100, 20), "Lives: " + livesControllerScript.getCurrentLives());
         GUI.Label(new Rect(10, 10, 100, 20), "Coins: " + coinControllerScript.getGoldCoins());
     }
 }