Resources & Default Save Location Issue
Posted: Fri May 05, 2017 12:08 am
I am using the editor to save out levels to the resources folder (just as an "offline" tool).
This is an offline workflow during a single "play" of the app to build, export and then test levels by loading them back in:
1. Export the level to the Resources folder. This works fine as long as I have the Default Save Location set to "File" in the Settings/General tab.
2. Refresh the Asset Database.
3. Switch the Default Save Location to "Resources" and then load the level.
Switching the Default Save Locaiton during a play session doesn't seem to work- I have tried executing:
And also setting the property on a Easy Save Default Settings game obj. But nothing seems to override the setting in the ES2 Settings/General window.
I am using Playmaker if that is a factor.
Any ideas what is wrong? Or is this just not a workflow that is possible.
Thanks!
BTW ES2 is awesome- file sizes are incredibly small and it is super easy to use. I wasted way too much time coming up with my own serializer.
This is an offline workflow during a single "play" of the app to build, export and then test levels by loading them back in:
1. Export the level to the Resources folder. This works fine as long as I have the Default Save Location set to "File" in the Settings/General tab.
2. Refresh the Asset Database.
3. Switch the Default Save Location to "Resources" and then load the level.
Switching the Default Save Locaiton during a play session doesn't seem to work- I have tried executing:
Code: Select all
// Load from Resources using ES2Settings
ES2Settings settings = new ES2Settings();
settings.saveLocation = ES2Settings.SaveLocation.Resources;
I am using Playmaker if that is a factor.
Any ideas what is wrong? Or is this just not a workflow that is possible.
Thanks!
BTW ES2 is awesome- file sizes are incredibly small and it is super easy to use. I wasted way too much time coming up with my own serializer.