Audio Problem

Hey everyone!

I’m having an issue with audio. I have an object that I want to destroy and to play an explosion audio when it happens but it won’t play because the object will be destroyed when it is used and there for, stopped. Knowing that I have multiple copies of this object coming in on screen all the time how can I get something to play the sound every time one of these are destroyed? I’ve been searching for ages and I still am so I was just wandering if any of you had any handy ideas.

Thanks everyone for your ideas!

Simple approach is not to destroy the enemy at first but just disable its renderer, making it invisible while the sound effect plays. Then destroy it after the sound has ended ( i.e. Invoke(“DestroyMe”, explosionClip.Length);