I’m trying to make it so that when you collect coins in a game for example if I collect 10 coins. When I exit the game ND go back into it I will still have 10 coins. I was wondering if player prefs was a safe/good way of doing this. If not how might I go about doing that. By the way I want it to work on mobile devices, thanks.
PlayerPrefs are the least secure way of storing data. It is useful for storing data that you wouldn’t mind user tampering with.
You can use the binary file save method to write your coin data as explained in this video on Persistence - Saving and Loading Data. If you need more security than that then you can even encrypt that data.