示例#1
0
文件: UI.cs 项目: 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     = "";
         }
     }
 }