Hi! i hope this is right place to ask this question!
I made slider that changes sound value and is connected to singleton soundManager
script by onvalueChange(single) property
Problem is i can change volume with it as long as i am on first scene(main menu), but when i leave that scene and return later to change volume i can move slider and slider value changes but volume is not affected.
Any idea what should i look after?
I dont think it will help but here is function i call by onValueChange event
public void setMusicLvl(float lvl)
{
mixerMaster.SetFloat("musicVol", Mathf.Log10(lvl) * 20);
PlayerPrefs.SetFloat("musicVol", lvl);
}