Пример #1
0
    IEnumerator WaitAndHide()
    {
        yield return(new WaitForSeconds(1f));

        isShown            = false;
        formulaField.color = new Color(0f, 0f, 0f, 1f);
        TurnController.stage++;
        TurnController.CycleTurns();
    }
Пример #2
0
 static void CheckIfTurnEnds()
 {
     if (playerAP <= 0)
     {
         playerAP       = playerPassedAP;
         playerPassedAP = 0;
         TurnController.CycleTurns();
     }
 }