Main menu with widget switching and button navigation
Updated 6mo ago
Reference
Pattern: WBP_MainMenu with WidgetSwitcher containing panels (Main, Options, Credits). Buttons: OnClicked → SetActiveWidgetIndex(WidgetSwitcher, PanelIndex). Play button: RemoveFromParent → OpenLevel(GameMap). Quit: QuitGame. Level BP BeginPlay: CreateWidget(MainMenu) → AddToViewport → SetInputModeUIOnly → SetShowMouseCursor(true).