示例#1
0
 void UpdateUI()
 {
     if (GameObject.Find("UI"))
     {
         TurnLabel.text   = "Phase: " + currentPhase.ToString();
         PlayerLabel.text = "Player: " + ActivePlayer.name;
         GoldLabel.text   = "Gold: " + ActivePlayer.Gold.ToString();
         LevelLabel.text  = "Level: " + ActivePlayer.Level.ToString();
         PowerLabel.text  = "Power: " + ActivePlayer.Power.ToString();
     }
 }
示例#2
0
 void UpdateTurnUI()
 {
     turnDetails.text = "Current Turn: " + currentTurn + "\nCurrent Turn Phase: " + currentTurnPhase.ToString();
 }
 void CmdBroadCastPlayerChange()
 {
     PlayerChange.Invoke(m_ActivePlayer, currentPhase.ToString());
 }