Exemplo n.º 1
0
Arquivo: UI.cs Projeto: Zcholm/10k3D
 private void Update()
 {
     if (!diceController.FailedThrow())
     {
         selectedScoreText.text = "Score selected dice: " + diceController.GetSelectedScore();
         handScoreText.text     = "Score in hand: " + (diceController.GetHandScore());
     }
     else
     {
         if (Parameters.AIPlaying)
         {
             selectedScoreText.text = "";
             handScoreText.text     = "";
         }
         else
         {
             selectedScoreText.text = "No points thrown, press anywhere to switch player";
             handScoreText.text     = "";
         }
     }
 }