- Home /
Does PlayerPref fits to save data profile on IPhone game
I want to make a save profile on my Iphone game.This save data contains 3 characters, each has almost 100 data(int or float).Is it OK to use PlayerPref , I saw in doc that the PlayerPref writes to iphone app's [product name].plist. I doubt weather to write 300 data to plist is fine. Should I use PlayerPref or use an XML file to save profile?
Thanks for helping, sorry for my English.
Answer by pro_metedor · Apr 26, 2011 at 12:07 PM
You can use this as long as it is your constant and maximum amount of data. If your amount of data will grow or change dynamically during game play it is better to use some other file then.
Remember, that it is not easy to delete keys, DeleteAll method may erase not only your own prefs, but also iphone device prefs for your application.
Your answer
Follow this Question
Related Questions
How do I use deserialize XML with Unity Pro iPhone. 4 Answers
Load from XML on iPhone 1 Answer
Returning correct result after uploading 0 Answers
Serialization in unity Iphone basic 3 Answers
iPhone stripping errors? 0 Answers