IEnumerator WaitAndCheck() { yield return(new WaitForSeconds(0.2f)); bool canStep = stepCont.CheckCanStep(); if (!canStep) { stepCont.staepActivate = false; SwitchTurn(); } }
IEnumerator WaitAndCheck() { yield return(new WaitForSeconds(0.2f)); bool canStep = stepCont.CheckCanStep(); if (!canStep) { stepCont.staepActivate = false; SwitchTurn(); } }