I am trying to make a menu for my game, I have an audio source on the first scene, which starts the background music and then I have DontDestroyOnLoad so that the music continues when I change between scenes. I want to have an options menu where I can use a slider that will change the volume of the music that is playing. I can't get the slider to do it as the audio source is not created in the same scene as the slider. Any ideas?
↧