Unity Master Volume Changer

public float masterVolume;

Void Start { 

  AdjustVolume(masterVolume);

}

public void AdjustVolume (float newVolume) {
     AudioListener.volume = newVolume;
 }
Modern Mole