Update: Death Animations
I have added the death animations to the enemies and the player.
This was done by going through each enemy and the player and recording the death animation.




Use a trigger parameter to trigger the death animation from any state.

For the enemies, create a coroutine in the enemy class and call it in a protected method.

Then call the method to start the coroutine on each enemy.

It is similar for the player. Set the trigger in the player animation script.

Create a coroutine in the player script.

Then start the coroutine when the player runs out of lives.

Now the basic combat system is complete.
