add editor???

This commit is contained in:
Schrottkatze 2024-11-23 16:13:54 +01:00
parent 5fa0f1b45f
commit 41dd7b8c7e
Signed by: schrottkatze
SSH key fingerprint: SHA256:hXb3t1vINBFCiDCmhRABHX5ocdbLiKyCdKI4HK2Rbbc
3 changed files with 1079 additions and 13 deletions

1086
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -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]

View file

@ -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());
} }