void StartAttacking() { // converge on the player moveToPlayer = true; // add this NPC to the list of attacking NPCs playerState.AddAttackingNPC(this.gameObject); Task.current.Succeed(); }
void StartAttacking() { // converge on the player moveToPlayer = true; // add this NPC to the list of attacking NPCs playerState.AddAttackingNPC(this.gameObject); Task.current.Succeed(); }