예제 #1
0
파일: GamePlay.cs 프로젝트: Olehadash/Nards
    IEnumerator WaitAndCheck()
    {
        yield return(new WaitForSeconds(0.2f));

        bool canStep = stepCont.CheckCanStep();

        if (!canStep)
        {
            stepCont.staepActivate = false;
            SwitchTurn();
        }
    }