/// <summary> /// 공격 데미지 적용 타이밍 /// </summary> /// <returns></returns> virtual protected IEnumerator AttackDelay() { delayTime = 0; IsFire = true; AttackWait = false; Ani.AttackAni(); yield return(new WaitForSeconds(1.0f)); IsFire = false; }
protected override IEnumerator AttackDelay() { delayTime = 0; IsFire = true; AttackWait = false; Ani.AttackAni(); //수류탄 던짐 GreadeAttack(); yield return(new WaitForSeconds(1.0f)); IsFire = false; }