• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by tatelax · Jan 01, 2012 at 03:42 PM · playerprefs

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

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image cregox · Aug 20, 2012 at 06:37 PM 0
Share

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

1 Reply

· Add your reply
  • Sort: 
avatar image
0
Best Answer

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.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image tatelax · Jan 03, 2012 at 03:39 AM 0
Share

Thank you!

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

6 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

PlayerPrefs isn't saving between Scenes 1 Answer

Is PlayerPrefs efficient for mobile devices? 2 Answers

What happens if PlayerPrefs.Save() fails? 1 Answer

Baffling Resources.Load by playerprefs string problem. 1 Answer

Unlockable Levels 3 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges