mirror of
https://codeberg.org/schrottkatze/mgd2-tram-championships.git
synced 2025-07-05 11:27:39 +00:00
menu system: ITS ALIVE
This commit is contained in:
parent
2b18cdea38
commit
acbcfe5956
7 changed files with 216 additions and 30 deletions
|
@ -5,7 +5,7 @@ use bevy_inspector_egui::{
|
|||
quick::{StateInspectorPlugin, WorldInspectorPlugin},
|
||||
};
|
||||
|
||||
use crate::AppState;
|
||||
use crate::{AppState, menus};
|
||||
|
||||
pub fn plugin(app: &mut App) {
|
||||
app.add_plugins(EguiPlugin {
|
||||
|
@ -14,5 +14,6 @@ pub fn plugin(app: &mut App) {
|
|||
.add_plugins((
|
||||
WorldInspectorPlugin::new(),
|
||||
StateInspectorPlugin::<AppState>::new(),
|
||||
StateInspectorPlugin::<menus::CurrentMenu>::new(),
|
||||
));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue