Talk:PlayerPrefsx

Great work here Ray, I hope this makes it into Unity by default. Seeing 2 issues though:

1) It seems that calling Get as one would with PlayerPrefs, doesn't set the value as a cookie if the value doesn't exist. Example;

someVar = PlayerPrefsx.GetInt ("prefSomeVar", 0.5);

In the above, if prefSomeVar doesn't exist, it doesn't set the cookie, though it does set the PlayerPref to the given value. Is this known / intentional?

2) Also, I cannot seem to load vars from cookies. I've confirmed they are being set, but the same call in the above example doesn't seem to load the stored value (even though it exists as a cookie).

Am I using this wrong?