Added a reference to the other sliders in LoadPrefs.cs. Yes, it's that dumb.
Slider value now updates each time a menu / pause menu is started. This ensures data consistency between the two, ensuring the player doesn't get confused.
Slider value updates PlayerPrefs while sliding.
Also, a few words on PlayerPrefs. They work fine, and further audio structure is not needed. At least, that's what I'm noticing after doing this fix. Now that everything seems consistent, working with an audio mixer will not be as hard.
A brief PR.
LoadPrefs.cs
. Yes, it's that dumb.PlayerPrefs
while sliding.PlayerPrefs
. They work fine, and further audio structure is not needed. At least, that's what I'm noticing after doing this fix. Now that everything seems consistent, working with an audio mixer will not be as hard.Nice!