Unity: 5.5.0f3 Personal
AC: 1.55c
Unity UI Menus via Prefabs.
----
Been pulling my hair out on this one...
Is there a way to prevent Menu's from saving to the SaveFile?
It looks like when a game save is saved, any active (turned on) Menus are added to the save file. This is great for certain menus, but when I Load a game, I DON'T want those menus to be turned on.
At the moment, when I Load a game, the Menus I had open during the save (That were blocking gameplay), end up being turned on again. They contain custom animations to bring them into the screen, but because the animations weren't playing, they're out of view and "Brick" the game, so to speak.
Realistically speaking, I'd like it so that when I Load a game, the game loads without menus. I realise the Menus, themselves are considered "Scene Objects" because they carry Constant ID's, but I'm not sure what to do... I guess I could add "Remember Animation" and "Remember Transform" as well, and force the user to back out of the Menu, but I find that un-intuitive for the user.
Thank you!
Comments
Whenever a game is saved, AC will include the locked and enabled state of its Menus in the file. However, you can change what happens upong loading by running an ActionList after the game is loaded that uses a series of Menu: Change state Actions to set up the Menus exactly how you want them. Such an ActionList can be assigned in your Load Menu's SavesList element properties.