예제 #1
0
 public DeadState(ZombieStateMashine stateMashine, NavMeshAgent agent, SoundsManager sounds) : base(stateMashine, agent)
 {
     zombieStateMashine.animator.SetBool("isDead", true);
     if (sounds != null)
     {
         sounds.OnZombieKilled();
     }
 }