Spawn Explosions Horizontally

Hi im making a 2d/3d td. ive made it so that the enemies follow waypoints, but when i kill the enemy they just dissaper. i added a blood particle effect. but it only works if it spawns horizonaly. but when i destroy my enemy it dosn’t spawn horizontally. it spawns where the object that destroyed it hit it. so my question is, how do i spawn an explosion that spawn horizontaly, and directly in the center of my enemy?

You could attach the particle emitter to the center of your enemy prefab, normally turned off. When he’s hit, turn it on. Set the velocity vector on X and/or Z but zero on Y.