x


Is there a global volume setting?

Hi,

Is there any way to control the volume of the whole game? I'm having a weird problem that if I dont play audio on awake, the first time it plays it doesn't work properly. So I thought I'd just play everything on awake, but turn the volume right down for the first few seconds of the game.

Is there a way I can turn the entire volume to 0 and then fade it up to 1 when the game starts?

Thanks

more ▼

asked May 04 '10 at 02:08 PM

Pure Phase gravatar image

Pure Phase
224 21 24 31

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

Yes, there is AudioListener.volume, which controls the volume of all AudioLsteners.

more ▼

answered May 04 '10 at 03:16 PM

burnumd gravatar image

burnumd
3.3k 22 34 71

Thanks a lot :)

May 04 '10 at 03:29 PM Pure Phase

Thanks!!! i just looked at this and it helped me a lot!!!

Aug 13 '10 at 10:40 PM 3dDude

Nice. I thought I might have to loop through all audio listeners in the game and set them independently.

Jul 16 '12 at 08:11 PM GWJustin
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1026
x74

asked: May 04 '10 at 02:08 PM

Seen: 4260 times

Last Updated: Jul 16 '12 at 08:11 PM