add bevy-inspector-egui for debugging

This commit is contained in:
OMGeeky
2025-04-22 22:17:07 +02:00
parent 4044b449e9
commit b14ed08182
3 changed files with 991 additions and 38 deletions

1025
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -8,7 +8,7 @@ bevy = { version = "0.15.0", features = ["bevy_dev_tools"] }
iyes_perf_ui = "0.4.0"
serde = { version = "1.0.219", features = ["derive"] }
bevy_common_assets = { version = "0.12.0", features = ["json"] }
bevy-inspector-egui = "0.30.0"
# Enable more optimization in the release profile at the cost of compile time.
[profile.release]

View File

@@ -1,6 +1,7 @@
use crate::camera::CameraPlugin;
use crate::logic_sim::LogicSimPlugin;
use bevy::prelude::*;
use bevy_inspector_egui::quick::WorldInspectorPlugin;
mod fps_counter;
mod logic_sim;
@@ -14,6 +15,7 @@ fn main() {
fps_counter::SimpleFpsCounterPlugin,
// ShapeFollowPlugin,
LogicSimPlugin,
WorldInspectorPlugin::new(),
))
.run();
}