Universal sound control across each scene
I am making a game in which I want to set the volume level at the start screen. I've placed a checkbox to enable/disable sound. After searching on how to set the sound control over all scenes I got to know about DontDestryOnLoad method. I am using it now to save the gameobject containing both the audio listener as well as audio source. Its working fine but the problem is when I beat the 1st level I want the audio to change and play the BeatLevel SFX which I've set in the game manager of the Level 1 scene. In the Level 1 scene I've an audio listener attached to the main camera and in GameManager I've set Background Music to None (as I'll get this music from the start screen audio source which I didn't destroy) and BeatLevel SFX to some victory sound but its not playing after clearing the level.
Please Help. Thank You
Your answer
Follow this Question
Related Questions
adding instruments to the music Wwise 1 Answer
How can i make countdown tick-tock sound ? 0 Answers
Sound Levels vary between levels with same settings? 2 Answers
Need help perfecting Siren Audio Effect 0 Answers
What needs to be considered when moving from a Screen Space Overlay UI to a Screen Space Camera UI? 1 Answer