Exemple #1
0
    public IEnumerator AttackTarget()
    {
        readyToAttack = false;
        AnimateAttack();
        yield return(new WaitForSeconds(attackDelay));

        damagable?.AddDamage(attackPower);
    }