private void Update() { if (gameState == GameState.ChooseStartTile) { if (!selectStartTileCanvas.gameObject.activeSelf) { selectStartTileCanvas.gameObject.SetActive(true); // Start info m_userInterfaceManager.SetInfoText("Select start location"); m_userInterfaceManager.ShowInfoText(); } } else if (gameState == GameState.StartGame) { selectStartTileCanvas.gameObject.SetActive(false); m_userInterfaceManager.HideInfoText(); // Round number one NextRound(); m_userInterfaceManager.ShowRoundNumberText(); // Activating palyer info m_userInterfaceManager.ShowCurrentPlayerMoneyBalance(); m_userInterfaceManager.ShowCurrentPlayerText(); // Selecting a player to start m_currentPlayer = FirstPlayer(); gameState = GameState.Running; } else if (gameState == GameState.Running) { if (!m_currentPlayer.PlayerActive) { m_currentPlayer.PlayerActive = true; ActivateCurrentPlayerUi(); } } else if (gameState == GameState.EndGame) { } }