Function demo_features::back_to_menu_ui
source ยท pub(crate) fn back_to_menu_ui(
ctx: Res<'_, EguiCtx>,
sessions: ResMut<'_, Sessions>,
session_options: ResMut<'_, SessionOptions>,
localization: Localization<'_, GameMeta>,
)
Expand description
Simple UI system that shows a button at the bottom of the screen to delete the current session and go back to the main menu.