GetMasterVolume in MusicPlayer before a value is set?

Hi!

I was wondering about the audioSource.volume = PlayerPrefsController.GetMasterVolume(); line in MusicPlayer script.

I don’t know if I’ve missed something, but shouldn’t we set a float value to the MASTER_VOLUME_KEY somewhere first?
The only place we use the SetMasterVolume is in the OptionsController at the Back button method right?

3 Likes

Privacy & Terms