setup stuff in a plugin
This commit is contained in:
parent
693f79de3c
commit
ad97bb7aab
1 changed files with 6 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
|||
use bevy::prelude::*;
|
||||
|
||||
mod scene;
|
||||
|
||||
fn main() {
|
||||
App::new()
|
||||
.insert_resource(ClearColor(Color::rgb(0.0,0.02,0.1)))
|
||||
|
@ -10,9 +12,12 @@ fn main() {
|
|||
..Default::default()
|
||||
})
|
||||
.add_plugins(DefaultPlugins)
|
||||
// .add_plugin(BuildScenePlugin)
|
||||
.add_plugin(scene::BuildScenePlugin)
|
||||
// .add_system(hello_world)
|
||||
// .add_startup_system(add_scene)
|
||||
// .add_system(print_positions)
|
||||
.run();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue