I am looking at storing player data in Unity from a script that I'm writing in C# and I would like to get an opinion on the best way to store the player's stats/data about the player like hours played, etc.
I know that I can set up a database, and that is one way that I'm going to store the most important data like username/password (of course using hashing and not the actual password).
What I would like to know is really about player data/stats about the player's character. Should I also store that data in the database or should I just have a file that I write over each time the player performs and upgrade, etc. or what other way can I effectively manage that data?
I am wanting to store things like the player's level, XP earned toward next level, currently active character, etc.
Edit: This will be for an MMORPG, so there will be many different pieces of data being stored.