– _masterVolume is protected and doesn’t have any way to access it.
– Then I tried to setup an audio mixer and change it’s “Attenuation – Volume” but it doens’t seems to work. It barelly reduces the sound of it.
I could hack it, by creating a way to access the _masterVolume property and re-apply the SetAndApplySettings method, so probably if I create my own Audio Track extending from the original, with that accessor i could fix the problem.
public float MasterVolume
{
get => _masterVolume;
set {
_masterVolume = value;
SetAndApplySettings();
}
}
Or maybe I’m just complicating the solution, have any idea?
Login
Register
By registering on this website you agree to our Privacy Policy.