From 584a30f7f801418ce136eda578142f7c165dca48 Mon Sep 17 00:00:00 2001 From: Robert Garrett Date: Sun, 27 Jul 2025 09:45:33 -0500 Subject: [PATCH] Add bevy-inspector-egui so I can fiddle with values easier --- Cargo.toml | 1 + src/main.rs | 3 +++ 2 files changed, 4 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index b972f69..4e01422 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,3 +5,4 @@ edition = "2021" [dependencies] bevy = { version = "0.16", features = ["dynamic_linking"] } +bevy-inspector-egui = "0.32.0" diff --git a/src/main.rs b/src/main.rs index dd4eb40..b38589d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,6 +1,7 @@ use bevy::{prelude::*, window::WindowResolution}; use asteroids::{config::WINDOW_SIZE, AsteroidPlugin}; +use bevy_inspector_egui::{bevy_egui::EguiPlugin, quick::WorldInspectorPlugin}; fn main() { App::new() @@ -12,5 +13,7 @@ fn main() { ..default() })) .add_plugins(AsteroidPlugin) + .add_plugins(EguiPlugin::default()) + .add_plugins(WorldInspectorPlugin::new()) .run(); }