Is there a way to set the autosaves default file path while in another scene? Or alternatively, make the autosave load a save file from the Runtime Settings' Default File Path?
Thanks.
Setting Default File Path from another scene?
-
- Posts: 5
- Joined: Sun May 29, 2022 10:40 am
Re: Setting Default File Path from another scene?
Hi there,
I've replied to your email regarding this but have included the response below:
Joel
I've replied to your email regarding this but have included the response below:
All the best,An Auto Save Manager is specific to a scene and only exists in a scene, so it's only possible to change the default path of an Auto Save Manager from the scene in which it belongs.
If you want to use the path in runtime settings as your Auto Save path, you can do so with the following code:
Code: Select all
ES3AutoSaveMgr.Current.settings.path = ES3Settings.defaultSettings.path;
Joel