bevy/examples/hello_world.rs

8 lines
163 B
Rust

use bevy::prelude::*;
fn main() {
App::build()
.add_default_plugins()
.add_system_fn("hello", |_| println!("hello world!"))
.run();
}