// Use this for initialization void Start() { audioMixer.SetFloat("musicLevel", PlayerPreferenceController.GetMusicVolume()); audioMixer.SetFloat("SFXLevel", PlayerPreferenceController.GetSFXVolume()); }
// Use this for initialization void Start() { musicSlider.value = PlayerPreferenceController.GetMusicVolume(); SFXSlider.value = PlayerPreferenceController.GetSFXVolume(); }