- Home /
Are PlayerPrefs the same on iPhone compared to my computer?
Hello,
If I use playerprefs for a game on my computer which works, and I build for iPhone, will playerprefs work the same for the iphone as it did on my computer? Or do I need to do something special for it to work on the phone?
Thanks
From my experience, there's a lot more on using it to iPhone even than this: http://answers.unity3d.com/questions/11112/where-on-iphone-editor-are-playerprefs-stored.html
Answer by dannyskim · Jan 02, 2012 at 08:08 PM
No, they should work just the same on the iPhone as they did on your computer. Careful how you use them for future reference, playerprefs I believe are written locally on disk to a log file, which typically means this can leave room for frame rate stutters if you write or load to disk during game play.