global volume, mute and audio mode

Hi, this has got to be the worst thing about unity, the audio!

I’m having trouble setting audio volume thru scripts, all i want is the basics, global volume, mute and audio mode. which i can set thru code so i can save.

Can anyone help? thanx

1 Like

use the static variable on the
AudioListener.volume = 0.123f;

1 Like

xd, this was a few years back when i was a young noob :smile: cheers for finally answering, i was waiting all this time :smile: