add editor???
This commit is contained in:
parent
5fa0f1b45f
commit
41dd7b8c7e
3 changed files with 1079 additions and 13 deletions
1086
Cargo.lock
generated
1086
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -6,6 +6,7 @@ edition = "2021"
|
||||||
[dependencies]
|
[dependencies]
|
||||||
bevy = { version = "0.14.2", features = ["dynamic_linking"] }
|
bevy = { version = "0.14.2", features = ["dynamic_linking"] }
|
||||||
bevy_rapier2d = "0.27.0"
|
bevy_rapier2d = "0.27.0"
|
||||||
|
bevy_editor_pls = "0.10"
|
||||||
|
|
||||||
# Enable a small amount of optimization in the dev profile.
|
# Enable a small amount of optimization in the dev profile.
|
||||||
[profile.dev]
|
[profile.dev]
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
use bevy::prelude::*;
|
use bevy::{prelude::*, scene::ScenePlugin};
|
||||||
|
use bevy_editor_pls::EditorPlugin;
|
||||||
use bevy_rapier2d::prelude::*;
|
use bevy_rapier2d::prelude::*;
|
||||||
|
|
||||||
use crate::AppState;
|
use crate::AppState;
|
||||||
|
|
||||||
pub(super) fn scene_plugin(app: &mut App) {
|
pub(super) fn scene_plugin(app: &mut App) {
|
||||||
// app.add_systems(, )
|
app.add_plugins(EditorPlugin::default());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue