Esempio n. 1
0
    public IEnumerator StartTurn()
    {
        StartTurnNotification.SetActive(true);
        Text text = StartTurnNotification.GetComponentInChildren <Text>();

        text.text = string.Format("Ход игрока {0}", _gameManager.CurrentPlayer.PlayerName);
        yield return(StartCoroutine(PlayerInfoManager.StartTurn()));

        //yield return new WaitForSeconds(0.8f);
        StartTurnNotification.SetActive(false);
    }