I Simply have two sliders for set Music and SFX audio volumes in my settings , and here is my code:
public void SetMusic(float volume)
{
audioMixer.SetFloat("Music", volume);
}
public void SetSFX(float volume)
{
audioMixer.SetFloat("SFX", volume);
}
And exposed two Music and SFX parameters from volumes of My two Audio Mixer groups , when I use it in editor it works perfectly and everything works fine but when I Built in use in it Android device it doesn’t works and changing sliders won’t effect the sounds , should I change anything for working audio mixer on Android Device? let me know if you want any information!
No hint on this?
– armanajdaniCould you solve it?
– adrianfrancisco