docs/bevy/examples/hello_world.rs 209 B · 11 lines · raw · history

1 //! A minimal example that outputs "Hello, World!"
2
3 use bevy::prelude::*;
4
5 fn main() {
6 App::new().add_systems(Startup, hello_world_system).run();
7 }
8
9 fn hello_world_system() {
10 info!("Hello, World!");
11 }