Hi Unity,
I’m making a game right now with 3 scenes:
Splash/MainMenu
Options
Game
So, I would like the options scene to give the player a chance to edit simple settings such as volume, render settings, etc.
I have created a GameObject called “Options” and placed it in the Splash/MainMenu scene, and set DontDestroyOnLoad in the start function, so this should persist through my scenes if I assume correctly.
I would like to create some audio sliders and set the volume of every single AudioSource in the current scene to that float, but I’m confused on how to capture these in an array/list. Which would be easier/more efficient, and how should I capture them?
Thanks!
Addyarb
Why not just set the volume of the audio listener?
– Eric5h5Good point! Would this work as well in the multiplayer version of my game?
– AddyarbAlso, how would one go about editing the receiving volume of an Audio Listener?
– Addyarbhttp://docs.unity3d.com/ScriptReference/AudioListener-volume.html
– Eric5h5