Game Development Reference
In-Depth Information
Working with settings
Saving data is always important, especially in games where you need to keep track of the
player's progress or at the very least a track record of scores, plays, and other important
data.
Within Unity, there is only one method of storing data natively, and that is Player-
Prefs . It is very simple to use and very flexible, although it does have a hard limit of 1
MB of storage for the web player. It is possible to serialize data into PlayerPrefs (and
some developers do this), but generally if you need to serialize, most developers build their
own system.
Search WWH ::




Custom Search