예제 #1
0
    IEnumerator detectForceExitAttack()
    {
        yield return(new WaitUntil(() => (playerState & PlayerState.AttackBehaviour) == 0));

        Debug.Log(playerState);
        attackSystem.ForceExitAttack();
    }
예제 #2
0
    IEnumerator detectForceExitAttack()
    {
        yield return(new WaitUntil(() => (enemyState & EnemyState.Attack) == 0));

        // Debug.Log(playerState);
        attackSystem.ForceExitAttack();
    }