Ejemplo n.º 1
0
 public void OnClick()
 {
     if (canClick)
     {
         ChangeTurnManager.EndPhase();
     }
     else
     {
         DialogueUI.ShowDialogue("You cannot <color=yellow>end phase</color> if isn't your turn or if isn't <color=yellow> <b>Main Phase</b></color>");
     }
 }
Ejemplo n.º 2
0
    public IEnumerator EndTurn()
    {
        yield return(new WaitForSeconds(timeToEndPhase));

        ChangeTurnManager.EndPhase();
    }