IEnumerator WaitAndHide() { yield return(new WaitForSeconds(1f)); isShown = false; formulaField.color = new Color(0f, 0f, 0f, 1f); TurnController.stage++; TurnController.CycleTurns(); }
static void CheckIfTurnEnds() { if (playerAP <= 0) { playerAP = playerPassedAP; playerPassedAP = 0; TurnController.CycleTurns(); } }