Right now I am only saving my prefabs/scriptable objects when the application quits. Is there a way I can autosave every few minutes or so (and this is advisable)?
I am thinking I can do something like this (pseudocode):
Code: Select all
if (FiveMinutesHavePassed) {
ES3AutoSaveMgr.Current.Save();
}
Code: Select all
ES3.Save("bug", gameObject);
Thanks,
Sarah