Quantcast
Channel: Answers for "Play multiple audioclips"
Browsing all 6 articles
Browse latest View live

Answer by Calesurf

My guess is that the object that the script is attached to is being destroyed before it can play the audio. You can fix this by just deactivating the enemy so the script isn't destroyed. I could be...

View Article



Answer by Selcuk_Bor

I would say that Calesurf is right. The way I would go around this problem is to have an object in the level that houses all the audio assets and to simply call it from that source. That way you are...

View Article

Answer by Juice-Tin

Here's how you can solve it in order to keep the sound source on the enemy. Make a second script on the enemy called 'PlaySound' or something. All this script will do is play a sound, wait a few...

View Article

Answer by Calesurf

My guess is that the object that the script is attached to is being destroyed before it can play the audio. You can fix this by just deactivating the enemy so the script isn't destroyed. I could be...

View Article

Answer by Selcuk_Bor

I would say that Calesurf is right. The way I would go around this problem is to have an object in the level that houses all the audio assets and to simply call it from that source. That way you are...

View Article


Answer by Juice-Tin

Here's how you can solve it in order to keep the sound source on the enemy. Make a second script on the enemy called 'PlaySound' or something. All this script will do is play a sound, wait a few...

View Article
Browsing all 6 articles
Browse latest View live




Latest Images