Ka Boom goes the Enemy

Enemies explode when destroyed
Animation controller Enemy_Destroyed
Transition
Excerpt of Enemy script to get animator component
Destroy enemy function in Enemy script
Check for collisions with laser or player in Enemy script

--

--

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