ui start
This commit is contained in:
1 parent
826239e8cd
commit
f6c974628f
5 files changed
+240
-1
No files matched your search
+19
-1
@@ -1,3 +1,21 @@
|
||||
use bevy::{prelude::*};
|
||||
|
||||
mod game_state;
|
||||
use game_state::GameStatePlagin;
|
||||
use game_state::{GameState, MenuState};
|
||||
|
||||
mod ui_menu;
|
||||
use ui_menu::UIMenu;
|
||||
|
||||
fn main() {
|
||||
println!("Hello, world!");
|
||||
App::new()
|
||||
.add_plugins(DefaultPlugins)
|
||||
.add_plugins(bevy_ui_text_input::TextInputPlugin)
|
||||
.add_plugins(UIMenu)
|
||||
.add_plugins(GameStatePlagin)
|
||||
// .add_systems(Startup, setup)
|
||||
.run();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user