Game Development Reference
In-Depth Information
So, you can either drastically limit what settings you store (recommended) or wrap your
SET PlayerPrefs calls in a try / catch statement to be safe if you plan to deploy to
the web player.
Other platforms do not have this limitation.
There are also delete functions to remove either a single key or to clear the cache com-
pletely.
For more information about PlayerPrefs , see the Unity reference guide at ht-
tps://docs.unity3d.com/Documentation/ScriptReference/PlayerPrefs.html .
Search WWH ::




Custom Search