Hey there everyone, I was just wondering how big PlayerPrefs can be for my using, and the maximum amount of variables I can store into it. Perhaps just an example of it's limitations?
I'm curious because I plan on having it check for a lot of things - presumably over 50 - for level items, character stats, etc. and I guess I'm just a little cautious on how to spare them.
Are they the only way to retain Game states and what not? And should I be okay with using them like crazy, or will they be a little too cost effective by doing so?
Thanks for anyone willing to lend a hand, Jordan.
asked Nov 03 '11 at 09:10 PM
Read the docs ;)
Basically there are no hard limits, with exception of WebPlayer, which is limited to a 1 MB.
edit: To the second part of your question: No they are not the only way, but the easiest.
You usually use them to store preferences, settings, highscores. If you want to save a level's current state, you better write your own Serialization/Deserialization Methods. But that's a bigger topic, so just google for "Serialization C#" for tutorials and explainations