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(); } }
void UpdateTurnUI() { turnDetails.text = "Current Turn: " + currentTurn + "\nCurrent Turn Phase: " + currentTurnPhase.ToString(); }
void CmdBroadCastPlayerChange() { PlayerChange.Invoke(m_ActivePlayer, currentPhase.ToString()); }