Hi there!
I set a global var to "Link to - OptionsData", played around a bit and then set it back to "Link to - None" again. But everytime I started the game, the global variable was overwritten by the saved value. When the game was running, "Persistent Engine - Options (Script) - Linked Variables" still showed the value of the Global Var. I had to reset my options data to get this solved.
Wouldn't it make sense to reset the data of global vars when "Link to - None" is set again?
Comments
Another question: Is this, placed in a Custom Action, the right function for resetting the PlayerPrefs ingame?
thx!
This isn't a scripting guide forum, but this would probably do it:
PlayerPrefs.DeleteKey (ppKey);
AC.KickStarter.options.SendMessage ("Awake");