A quick question about saves
Posted: Wed May 29, 2024 8:59 pm
Hi Tony,
I really appreciate being able to lean on DS's save slot system but I have my own scene loader. I just wanted to check that this process is okay and I'm not missing anything, it seems to be working great, but I've only just implemented it -
Saving is called by
In the main menu I'm clearing all data -
and then Loading is
thanks so much for all your hard work,
Pete.
I really appreciate being able to lean on DS's save slot system but I have my own scene loader. I just wanted to check that this process is okay and I'm not missing anything, it seems to be working great, but I've only just implemented it -
Saving is called by
Code: Select all
PixelCrushers.SaveSystem.SaveToSlot(_slot);
Code: Select all
DialogueManager.instance.ResetDatabase();
DialogueSystemInkIntegration.instance.ResetStories();
Code: Select all
var _loadData = PixelCrushers.SaveSystem.storer.RetrieveSavedGameData(_slot);
PixelCrushers.SaveSystem.ApplySavedGameData(_loadData);
var _sceneToLoad = DialogueLua.GetVariable(SceneToLoad).asString;
MyCustomSceneLoader(_sceneToLoad);
Pete.