Up-to-date AC! Latest Unity!
Prefab Inventory system based off of the 3D demo (for now). (Same happens using built-in AC engine inventory system)
Menu turns off/on via right-mouse click.
While menu is open, clicking on interaction that invokes "Action Scene" (change scene), and when the new scene loads, the inventory is still open.
I can see this being useful for some game styles, however for me, I'd like this menu to be closed before the scene change takes place, and adding a "Menu > Change State > Turn Off Menu" action for EVERY single interaction involving navigating to a new scene will be problematic...
Is there any way I can automatically have the menu close between scene changes? Any event hooks, or specific cutscenes (Like an OnSceneChange) that I can tie into?
Also, I don't suppose there's a way to prevent the menu from opening when another menu is open? I tried making the Inventory system run a script when it "turns on", and just not showing the menu if another menu was open. However, the AC Menu system still believes it's open. Some way I can cancel that?
Thank you!
Comments
You can use the Menu: Check state Action to run a chain of Actions if a particular Menu is open, however if it's placed in the ActionList when turn on field of the Menu you want to turn off, you may have trouble. What's the exact sequence of Actions you've tried?