Credits (instead of opening the credits widget, for some reason I don’t understand actually DOES open the thirdpersonexample map which I wanted for button 1!)
Quit Game (is the only button that works correctly here :()
I just added “remove from parent” to the first three and now all three open the level. They are each parented to the corresponding button, and all parented to the Uniform Grid Panel??? Can anyone explain to me what is going on here? Thanks.
Remove from Parent is removing the MainMenuWidget from the viewport (the ‘parenting’ of the text to buttons is unrelated to this). When you add the widget to the viewport, the level isn’t unloaded, it’s still there, you just can’t see it because your widget is fullscreen and opaque. HUDs showing health/ammo/etc. are exactly the same thing, but you can see the level because they are usually transparent.
Ahh ok, thanks, that explains it then. And then I suppose the level Blueprint has dominion once play button is pressed so it keeps defaulting back to the mainmenu widget.
As far as i know Removing and creating a widget isn’t a good practice cuz it will reset everything in that widget back to default. Hiding and making it visible is a better option.