Profile system

For the software i created I want the user to be able to create a profile and record achievements, unlocked levels etc.

I have got the player prefs working fine.

There is no way to save a struct or class to it?

Looking at the way it is set up I am thinking of just creating 8 blank slots and having variables just for those 8 slots.

Anybody have recommendations for good ways of doing this?

You can serialize a struct / class to xml and then store that text for example.

But normally you would not exactly want to use playerprefs for this kind of usage.

achievements tend to make no sense if you can’t compare them with friends / foes → online storage
savegames / unlocked levels etc require more complex and larger datasaves that might fit into the playerprefs depending on the platform in question and for anything but the webplayer System.IO.File.ReadAllBytes / WriteAllBytes (or xxxAllText) is definitely more flexible as you can serialize any class struct to those data and store - retrieve them

So basically your saying I should save into a file?

My system is rather simple for now. I am not looking to put results online at the moment. It is more of a simulation than game.

Depends on what you want to store in detail.

I figure I have a 1mb with player prefs and should be able to keep well below that as the amount of data i would store is small.

I think for now I will take that approach and see how it goes, then change to files if it gets out of control.