mirror of
https://github.com/OMGeeky/logisim.git
synced 2025-12-26 16:57:23 +01:00
add bevy-inspector-egui for debugging
This commit is contained in:
1025
Cargo.lock
generated
1025
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -8,7 +8,7 @@ bevy = { version = "0.15.0", features = ["bevy_dev_tools"] }
|
|||||||
iyes_perf_ui = "0.4.0"
|
iyes_perf_ui = "0.4.0"
|
||||||
serde = { version = "1.0.219", features = ["derive"] }
|
serde = { version = "1.0.219", features = ["derive"] }
|
||||||
bevy_common_assets = { version = "0.12.0", features = ["json"] }
|
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.
|
# Enable more optimization in the release profile at the cost of compile time.
|
||||||
[profile.release]
|
[profile.release]
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
use crate::camera::CameraPlugin;
|
use crate::camera::CameraPlugin;
|
||||||
use crate::logic_sim::LogicSimPlugin;
|
use crate::logic_sim::LogicSimPlugin;
|
||||||
use bevy::prelude::*;
|
use bevy::prelude::*;
|
||||||
|
use bevy_inspector_egui::quick::WorldInspectorPlugin;
|
||||||
|
|
||||||
mod fps_counter;
|
mod fps_counter;
|
||||||
mod logic_sim;
|
mod logic_sim;
|
||||||
@@ -14,6 +15,7 @@ fn main() {
|
|||||||
fps_counter::SimpleFpsCounterPlugin,
|
fps_counter::SimpleFpsCounterPlugin,
|
||||||
// ShapeFollowPlugin,
|
// ShapeFollowPlugin,
|
||||||
LogicSimPlugin,
|
LogicSimPlugin,
|
||||||
|
WorldInspectorPlugin::new(),
|
||||||
))
|
))
|
||||||
.run();
|
.run();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user