if I understand correctly, if I want to work with multiple save slots, I have to use settings.
My understanding is that for the ES3 class I can either Load things using a specific settings instance
Code: Select all
myValue = ES3.Load("myKey", mySettings, defaultValue);
Correct me if I'm wrong, but I expect this will save the data into a SaveSlot1 folder relative to the default Location
Code: Select all
ES3Settings.defaultSettings.path = "SaveSlot1";
//and then later, not have to worry about specifying the settings I want to use
myValue = ES3.Load("myKey", defaultValue);
Code: Select all
ES3Settings.pathToEasySaveFolder = "SaveSlot1";
One thing that is not clear at all though, is how this would work for autosave, as there's 0 documentation on the AutoSave API
ES3AutoSaveMgr seems to be some sort of singleton, but it has one public field and two properties: _current, Current and Instance so not sure which one I should be using.
I expect the following code is how you change the save slot with auto save
Code: Select all
ES3AutoSaveMgr.Instance.settings.path = "SaveSlot1";
Does this look right?