Ejemplo n.º 1
0
    protected override IEnumerator SkillUpdate(Animator animator)
    {
        yield return(new WaitForEndOfFrame());

        if (!InputListener.GetKey(KeyCode.L))
        {
            animator.SetBool("Defence", false);
        }
        else
        {
            StartCoroutine(SkillUpdate(animator));
        }
    }