I’ve made a slider to change the Gamma level and it works fine, but when I close the widget and re-open it or restart the game the slider itself has been reset to its original position. I was wondering how I can save its value and sync it with the Gamma level
I don’t want to have to click a button. Any way I can have it do it automatically?
It’s just an example he gives. Of course you can save the game at any point…
How exactly can I do that? I’m pretty new to this…
You use the bit of code you’re shown to do the saving, but you do it when the value changes, instead of when a button is pressed.
Here’s my save game 101
1 Like
Afair, the slider spits this out once the user stops fiddling with it - this could be the trigger to save:
Avoid saving onValueChanged
or you’ll be saving 60 per second, or worse.
2 Likes
good advise to save on controller capture end, thank you
1 Like