예제 #1
0
 public virtual void Die()
 {
     _alive = false;
     _enemyAnimation.DieAnimation();
     _questLogController.CheckGoal(_enemyModel.characterName);
     _playerController.AddExp(_enemyModel.exp);
     //Debug.Log(transform.name + " died");
     //Destroy(gameObject);
 }