Blender_bevy_components_wor.../examples/common/src/lib.rs

28 lines
461 B
Rust
Raw Normal View History

pub mod state;
pub use state::*;
pub mod assets;
use assets::*;
pub mod core;
pub use core::*;
pub mod game;
pub use game::*;
use bevy::prelude::*;
2024-02-27 07:14:49 +00:00
use bevy_editor_pls::prelude::*;
pub struct CommonPlugin;
impl Plugin for CommonPlugin {
fn build(&self, app: &mut App) {
2024-02-29 22:40:46 +00:00
app.add_plugins((
StatePlugin,
AssetsPlugin,
CorePlugin,
GamePlugin,
EditorPlugin::default(),
));
}
}