Death Animations In Unity 2D

The Animator in Unity is a handy node graph that makes it easy to see what is going on
Turn off Has Exit Time and add the condition, in this case “Explode”
Trigger the Explode condition to transition the animation, then destroy the game object after the length of time of the animation

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store