IEnumerator AttackPlayer(float delayTime) { npcControl.Attack(); yield return(new WaitForSeconds(delayTime)); pcControl.Damage(); }