Possible to choose which data is loaded using Autosave?

Discussion and help for Easy Save 3
Post Reply
thrawndev
Posts: 6
Joined: Thu Aug 12, 2021 5:24 pm

Possible to choose which data is loaded using Autosave?

Post by thrawndev »

Hi

I have 2 scenes active at the same time. Each scene has an auto save manager. Auto save is working correctly in each scene individually and storing the data/gameobjects that I specified. Saving takes place just before I unload the scenes.

When I load back into these scenes and call ES3AutoSaveMgr.Current.Load();, the correct data is loaded but only into the active scene so the gameobjects from the second scene are created in the active scene as new gameobjetcs.

What i want to do is load "X" data into the active scene and then load "Y" data into the other scene (where it was saved initially). Calling ES3AutoSaveMgr.Current.Save() seems to save all the data I want in both scenes, but I cant work out how to load it back in its original place (if that makes sense)

How would be the best way to handle this?

Thanks!
User avatar
Joel
Moodkie Staff
Posts: 4826
Joined: Wed Nov 07, 2012 10:32 pm

Re: Possible to choose which data is loaded using Autosave?

Post by Joel »

Hi there,

You would need to get the specific ES3AutoSaveMgr Component from the Easy Save 3 Manager GameObject and call Load() on that, rather than using ES3AutoSaveMgr.Current (which gets the one for the active manager).

All the best,
Joel
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
Post Reply