Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: zorranco on May 11, 2022, 06:24:22 AM
-
My game doesn't have music per se (just in a few spots, it's mandatory).
Therefore there are no mixers (all volume clips are manually adjusted, so for example footsteps sound quieter than other sounds to not disturb the player too much while walking etc).
You can put "Set game volume" and "Audiolistener set volume" to zero and the game still plays sounds.
I've tried to acces Audiolistener.volume with "set property" but the property volume seems to not be exposed.
Do I need to use mixers to adjust the master volume?
-
Hi.
With the audio mixer it is set between -80(db) - 20(db) not 0 - 1
So maybe "Set game volume" works the same.
if not its probably better to use a mixer.
if you have music as well its probably better to use it anyway and have 3 main groups (Music/Ambient/Sfx)
-
I understand that this action modifies the global audio value, wich is a float between 0 and 1.
(https://i.postimg.cc/7YKNNsv4/2022-05-11-17-51-49-Dalgona-Manor-02-Windows-Mac-Linux-Unity-2021-2-0b11-3437-Personal-DX11.png) (https://postimg.cc/rKtWV9FZ)
However, if I change it manually in the menu, it doesn't work either, dunno why.
I suppose I will have to move all my audio sources to mixers, but there are dozens of them. Tons of work :D
-
Hi.
For a fast way to find your audio sources in scenes, search t:AudioSource in the hierarchy.
-
I was searching just for this...many thanks for the help :)