Search Unity

Audio Music and slider are on different scenes

Discussion in 'Audio & Video' started by yollyfer18opp, Jan 28, 2018.

  1. yollyfer18opp

    yollyfer18opp

    Joined:
    Jan 28, 2018
    Posts:
    1
    I'm working on a game where the music starts on my main_menu scene and the volume slider is on my options scene, How can I connect the music to the slider when they're on different scenes? Thank you.
     
  2. jeremiahe

    jeremiahe

    Joined:
    Dec 31, 2018
    Posts:
    1
    I am also having the same issue
     
  3. Justinasg

    Justinasg

    Unity Technologies

    Joined:
    Mar 10, 2017
    Posts:
    5
    If you need to change the Audio volume, it would be easiest using Audio Mixer. (imo)

    That also makes it possible to use Audio Mixer to change the volume (or other parameter) of all audio sources which are using that mixer. (changing volume of each character, when changing character volume in settings)

    Good example on how to use an audio mixer:
    https://unity3d.com/learn/tutorials/topics/audio/exposed-audiomixer-parameters