Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

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