Changing volume on a group?

I’m trying to change the volume of a group by code, but I can’t seem to access the volume information?

using UnityEngine;
using System.Collections;
using UnityEngine.Audio;

public class GameSettings : MonoBehaviour {

    public AudioMixerGroup musicGroup;
    [Range(0, 1)] public float musicVolume;

}

I’ve assigned musicGroup properly…

Read about exposed parameters in the docs - GetFloat and SetFloat to be precise. You’ll be able to tweak gain using those.