diff --git a/examples/common/Cargo.toml b/examples/common/Cargo.toml index 2db2a13..08cfefd 100644 --- a/examples/common/Cargo.toml +++ b/examples/common/Cargo.toml @@ -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_xpbd_3d = { version = "0.4", optional = true } 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" diff --git a/examples/common/src/lib.rs b/examples/common/src/lib.rs index 3b6a25f..e8b5727 100644 --- a/examples/common/src/lib.rs +++ b/examples/common/src/lib.rs @@ -11,11 +11,11 @@ pub mod game; pub use game::*; use bevy::prelude::*; -// use bevy_editor_pls::prelude::*; +use bevy_editor_pls::prelude::*; pub struct CommonPlugin; impl Plugin for CommonPlugin { fn build(&self, app: &mut App) { - app.add_plugins((StatePlugin, AssetsPlugin, CorePlugin, GamePlugin)); + app.add_plugins((StatePlugin, AssetsPlugin, CorePlugin, GamePlugin, EditorPlugin::default())); } }