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.