I’ve been searching both the script references and the forum without any conclusive result, and so I have to ask what I hope to be a simple question.
How do I save a series of variables to a file on the iPhone? - preferably a file, that doesn’t get replaced when the app is updated.
What I want to store is, for each level:
var level1unlocked : boolean = true;
var level1collectedStars : int = 2;
var level1highScore : int = 274;
- and so forth…
Something like that anyways.
The only thing I’ve found is this thread: forum.unity3d.com/threads/14286-Saving-Data-to-iPhone
but the way I see it, that would only enable me to write one line of data in each file I save, leaving me with a couple of hundred files, once the game is done.
I know this sounds kind of nuub’ish, and please respond as such, since I have no idea where to begin.