Blender_bevy_components_wor.../examples/common/src/lib.rs
2024-02-29 23:40:46 +01:00

28 lines
461 B
Rust

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::*;
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,
EditorPlugin::default(),
));
}
}