|
Hi Everyone, I am trying to add sound effects to my game and have them playing, yet they are really quiet when compared to my background music. The audio source is attached to my game control object, which also has the Audio listener attached to it. I have my background music playing from the audio source, then the Audio Clips use the same audio source. The code is: private var thisAudio : AudioSource; var fire : AudioClip; function Start() { audio.Play(); thisAudio = audio; }
any help appreciated, thanks
(comments are locked)
|
|
To increase the volume of your sounds, you could do either of these:
I hope this works for you! What is the maximum volume? I have put it up to 100 as well as the volume. Can't really notice too much difference although I know the speaker on an iPhone is sucky
Sep 01 '10 at 10:01 AM
Christopher Winstanley
The Maximum Volume is a Audio Source component property. See this page: http://unity3d.com/support/documentation/Components/class-AudioSource.html
Sep 01 '10 at 11:08 PM
BinaryCaveman
Another option could be to lower the background music volume - you could use what I said above to increase the volume, but in the opposite direction (to something like 0.25).
Sep 01 '10 at 11:09 PM
BinaryCaveman
No-one really explained this: The maximum volume is 1.0, that's why setting it to 100 made no difference.
Apr 07 at 04:48 AM
Nition
(comments are locked)
|
