mirror of
https://github.com/Noratrieb/game-wip-dontplay.git
synced 2026-01-17 04:45:02 +01:00
more
This commit is contained in:
parent
abd857aed4
commit
a6c80f6cd4
1 changed files with 3 additions and 1 deletions
|
|
@ -24,7 +24,9 @@ fn main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub(crate) fn do_debug_ui(ctx: &egui::Context, mut game: &mut GameState) {
|
pub(crate) fn do_debug_ui(ctx: &egui::Context, mut game: &mut GameState) {
|
||||||
egui::Window::new("Debug (F12)").show(ctx, |ui| {
|
show(&|ui| {
|
||||||
::egui_inspect::UiExt::property(ui, "game", &mut game, &mut 0);
|
::egui_inspect::UiExt::property(ui, "game", &mut game, &mut 0);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fn show(f: &dyn FnMut(&mut egui::Ui)) {}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue