chore(inspector): added inspector & co

This commit is contained in:
kaosat.dev 2024-02-27 08:14:49 +01:00
parent ca25669774
commit a705a238fd
2 changed files with 3 additions and 3 deletions

View File

@ -17,5 +17,5 @@ bevy_gltf_blueprints = { path = "../../crates/bevy_gltf_blueprints", optional =
bevy_rapier3d = { version = "0.25", features = [ "serde-serialize", "debug-render-3d", "enhanced-determinism"] , optional = true } bevy_rapier3d = { version = "0.25", features = [ "serde-serialize", "debug-render-3d", "enhanced-determinism"] , optional = true }
bevy_xpbd_3d = { version = "0.4", optional = true } bevy_xpbd_3d = { version = "0.4", optional = true }
bevy_asset_loader = { version = "0.20", features = ["standard_dynamic_assets" ]} bevy_asset_loader = { version = "0.20", features = ["standard_dynamic_assets" ]}
#bevy_editor_pls = { version = "0.6" } bevy_editor_pls = { version = "0.8" }
rand = "0.8.5" rand = "0.8.5"

View File

@ -11,11 +11,11 @@ pub mod game;
pub use game::*; pub use game::*;
use bevy::prelude::*; use bevy::prelude::*;
// use bevy_editor_pls::prelude::*; use bevy_editor_pls::prelude::*;
pub struct CommonPlugin; pub struct CommonPlugin;
impl Plugin for CommonPlugin { impl Plugin for CommonPlugin {
fn build(&self, app: &mut App) { fn build(&self, app: &mut App) {
app.add_plugins((StatePlugin, AssetsPlugin, CorePlugin, GamePlugin)); app.add_plugins((StatePlugin, AssetsPlugin, CorePlugin, GamePlugin, EditorPlugin::default()));
} }
} }