- Home /
options menu UI doesnt save when switching scenes
i've made an options menu from brackeys tutorial, every thing works but when i switch the menu scene to other scene then get back to the options menu, every thing still works except the UI gets back to defult for example when i change the volume slider position and get back to options menu the volume slider UI gets to default, but the volume doesn't change
when i changed the volume slider [2]: /storage/temp/109789-2.jpg when i got back to the options scene it got back to default
the problem is not not with the volume only its with all other UI
Are you using PlayerPrefs, or are these values stored within a class?
Answer by Neamtzu · Jan 23, 2018 at 09:19 AM
You should save the configuration when you exit the screen and set everything back before you open that screen. You can use PlayerPrefs to save all the values.
Your answer
