mirror of
https://github.com/kaosat-dev/Blender_bevy_components_workflow.git
synced 2024-11-22 11:50:53 +00:00
c4e83655f3
* chore(bevy_gltf_components): updated code for bevy_main/ v0.12 * refactor(examples): cleanups & tweaks * added compatibility tables
34 lines
695 B
Rust
34 lines
695 B
Rust
use bevy::prelude::*;
|
|
use bevy_editor_pls::prelude::*;
|
|
|
|
mod core;
|
|
use crate::core::*;
|
|
|
|
pub mod assets;
|
|
use assets::*;
|
|
|
|
pub mod state;
|
|
use state::*;
|
|
|
|
mod game;
|
|
use game::*;
|
|
|
|
mod test_components;
|
|
use test_components::*;
|
|
|
|
fn main() {
|
|
App::new()
|
|
.add_plugins((
|
|
DefaultPlugins.set(AssetPlugin::default()),
|
|
// editor
|
|
EditorPlugin::default(),
|
|
// our custom plugins
|
|
StatePlugin,
|
|
AssetsPlugin,
|
|
CorePlugin, // reusable plugins
|
|
GamePlugin, // specific to our game
|
|
ComponentsTestPlugin, // Showcases different type of components /structs
|
|
))
|
|
.run();
|
|
}
|