UMG multi-pages (sub menus) menu
I'm trying to make multi-pages menu i.e. imagine you have: play, options , exit, back buttons .....now if I click on the options i need to have another page with all available options.
What is the logic behind to create such menus with UMG. I just need some pointers.
I'm working only in blueprints.
Any help is greatly appreciated. Thanks
asked Dec 05 '14 at 10:10 PM in Blueprint Scripting
I've been creating each individual Menu in its own blueprint and as I navigate through them, I load and unload them as needed.
So let's say you have a Main Menu with Play, Options and Etc ..
Your Main Menu UMG would have buttons for Play, Options, etc with their OnClick Removing Menu from Viewport and Creating the respective new UMG widget and adding it to the viewport.
You could, if you wanted to, just add the new UMG widget to the current viewport and just remove it from parent when clicking a back button.
answered Dec 05 '14 at 11:42 PM
Create a 'Master Menu' widget which has a Widget Switcher in it. In the widget switcher put all your other menus. Each button press should reference the master menu to switch widgets. You can even put a widget switcher in one of the sub widgets for stuff like an options menu.
This is definitely the easiest way to go about it, without loading and removing widgets.
answered May 16 '18 at 01:10 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here