- Home /
What is most efficient way to store 'high scores' in game in unity?
Hey game makers and gamerz, i want to ask that if i want to store some data in mobile device through my game that persists even after closing game like for example- 'High Scores', then what is most efficient and recommended way to do this in unity. Thanks a lot..keep gaming :)
Answer by HarshadK · Jul 18, 2014 at 09:31 AM
Most easiest with respect to writing code is PlayerPrefs. But if you consider security related issues, then it is the worst of all.
You might consider using Serialization of your data to store in a file using Binary Formatter. You can even encrypt your data for a layer of security.
You should really check this video: Persistence - Saving and Loading Data
And there are too many questions/articles around for the question you have asked.
Thanks @Harshad$$anonymous$$ for information and video link :) that video helps me a lot in exact way i want.
Your answer
Follow this Question
Related Questions
The name 'Joystick' does not denote a valid type ('not found') 2 Answers
How many different scripts do I need to write to create a highscore system? 1 Answer
How do I set my android app to landscape mode entirely? 1 Answer
Facebook unity sdk: is it possible to send friend invites/app requests to non app users ? 1 Answer