I’ve started to use PlayerPrefs for our game, and while it works great, it seems that one of the commands given in the Scripting Reference Guide is no longer valid.
When I put
PlayerPrefs.Save;
or
PlayerPrefs.Save();
in a script, I get the following error in the console:
BCE0019: ‘Save’ is not a member of ‘UnityEngine.PlayerPrefs’.
Am I doing something wrong, or has PlayerPrefs.Save been deprecated? If so, it should probably be removed from the reference…
Pity MonoDevelop directs people to latest docs online rather than the ones shipped with the release they have installed.
– Waz@Warwick Allison: yeah, that doesn't really make much sense.
– Eric5h5Ah, that's why it wasn't working...I'm still on 3.3. Thanks!
– Elie_Charest