Damage VFX using Animated Sprites in Unity

In this article I will show how I setup the engine damage VFX for my player.
I started by dropping the first sprite of the player damage sprites onto my player, and then animated it as usual with the rest of the sprites.
I renamed the gameobject Right_Engine and moved it into the correct position on the player, I then duplicated it , renamed it Left_Engine and moved it into the correct position.
From here I set both GameObjects to inactive in the inspector.

I could have made 2 variables in my Player script for the 2 engines but I went with a GameObject[] array and serialized it so they can be dropped into the inspector field.

In my Damage method when I subtract from Lives I run a switch statement to check how many Lives are left and enable the damage vfx on an engine when 2 or 1 Lives are left.
