Hey all, I couldn’t quite find what I was looking for, so I decided to make a post.
EDIT: I have since gotten /some/ new information and will re-write my post. I am still struggling and am getting very frustrated with myself. I’d really, REALLY appreciate some help.
====
To put it as briefly as possible, I am trying to save my character’s essential information, and not only have I heard PlayerPrefs is ill-advised, but it also won’t work right for some of the information I have (for instance, I can’t PlayerPrefs my Profession and its accompanying stats and inherited class info), so I’ve pretty much assumed the best, if not only way, to accomplish this is through Serialization.
I have quite a few scripts written, and here’s the gist for them.
Slight description of them: I am simply trying to make a character script for a guard that will take both the Job: Mercenary, as well as the Type: Standard, and then, I want to be able to save that. In theory, the GameControl.cs script would accomplish that, but I’m having troubles (obviously), and I have a bunch of things commented out because I am fairly clueless, lol.
So, that said, I did do the Persistence and Saving tutorial from Unity, but I’m not only using/calling different scripts, I’m not handling simple floats, so I’ve had a hard time modifying that. Ultimately, I just want to know two things: Is my code that I am trying to save sensible? If it is, then how on earth would I use Serialization to save the info?
Thanks in advance, I appreciate any help I get.