More plugins
This commit is contained in:
parent
74502b368c
commit
2d465a926b
@ -36,6 +36,7 @@ fn update_people(mut query: Query<&mut Name, With<Person>>) {
|
|||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
App::new()
|
App::new()
|
||||||
|
.add_plugins(DefaultPlugins)
|
||||||
.add_systems(Startup, add_people)
|
.add_systems(Startup, add_people)
|
||||||
.add_systems(Update, (gamarjoba, (update_people, greet_people).chain()))
|
.add_systems(Update, (gamarjoba, (update_people, greet_people).chain()))
|
||||||
.run();
|
.run();
|
||||||
|
Loading…
Reference in New Issue
Block a user