Need help with AudioSources

I have three audio sources in my scene, each playing a bunch of audio clips playing on several occasions during gameplay using AudioSource.playOneshot(clipname, float) , also I have different AudioSource which plays background music on a continuous loop.

The problem is that some of the audio clips that are being played using the first three audio sources have a very low sound and can’t be heard over the music, I need to have a script which detects if they’re emitting sound and lower the volume of the music audio source then have it go back to normal when they are not.

would appreciate any help, thanks…

You can use the “Audio Mixer” in the editor. Watch these tutorials on the unity site

http://unity3d.com/learn/tutorials/modules/beginner/live-training-archive/adding-music-to-your-game?playlist=17096

Cheers and have fun creating! :stuck_out_tongue: