Ejemplo n.º 1
0
 public void Death()
 {
     //When the enemy's health drops to 0 or when he has attacked the player, call this function
     //If its through attacking the player, assign it to the last keyframe in the attack animation
     _move.CanMove = false;
     _anims.DeathAnimation();
 }