Hi, I was wondering if anyone knows how to instantiate/duplicate AC menus at runtime? I know some dialogue windows have that ability, but I want to do this in scripting and on manual appear types. I've tried to look at the scripting guide but I haven't found the appropriate method. I know I could always just instantiate the prefab or something but I want to be able to use AC's own methods to manipulate the new copies.
Anyways, as usual any advice would be greatly appreciated.
Comments
You're on the right track with instead instantiating a UI prefab, but one that isn't connected to the Menu system in the usual way. Instead you will have to assign e.g. button click events to an ActionList asset file's Interact method manually, and use custom Actions to turn it on/off.