- Home /
Question by
vozer · Aug 10, 2015 at 12:37 PM ·
playerprefssave
Store Playerprefs in file
Hi!
Is there any way to store Playerprefs elsewhere than in the registry? (windows standalone). Like a normal game in documents/gamename for example?
Comment
Answer by allenallenallen · Aug 10, 2015 at 12:37 PM
No, you can't, not with Unity's default PlayerPrefs. If you want to save elsewhere, you have to write it yourself.
Answer by NeverHopeless · Aug 10, 2015 at 12:59 PM
Unity is a cross-platform game engine, and concept of registry (and access to the registry) does not applicable(allowed) on every platform. All you can do is to save you data in files (e.g., xml) and save it to Application.persistentDataPath
Your answer