public IEnumerator AttackTarget() { readyToAttack = false; AnimateAttack(); yield return(new WaitForSeconds(attackDelay)); damagable?.AddDamage(attackPower); }