Search Unity

Changing Audio Mixer Group volume with UI slider

Discussion in 'Unity 5 Pre-order Beta' started by jsleek, Feb 12, 2015.

  1. jsleek

    jsleek

    Joined:
    Oct 3, 2014
    Posts:
    61
    Hi there,

    I'm looking to create a sophisticated volume control in Unity 5 through the use of audio mixer groups. If I can find a way to expose the attenuation parameter on each Audio Mixer Group in code and hook it up to a UI slider, then i can control the volume of all music sources contained within the specific Audio Mixer Group.

    I read this thread here (http://forum.unity3d.com/threads/audio-mixer-exposing-vu-levels.277216/#post-1830016) and they said it is possible to expose this parameter in code, but I can't figure out how.

    Can anyone help?

    Cheers!
     
  2. jsleek

    jsleek

    Joined:
    Oct 3, 2014
    Posts:
    61
unityunity