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 :slight_smile:

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.