예제 #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();
     }
 }