bevy/examples/wasm/hello_wasm.rs

13 lines
220 B
Rust
Raw Normal View History

2020-11-13 01:23:57 +00:00
use bevy::{log::LogPlugin, prelude::*};
fn main() {
2021-04-11 20:13:07 +00:00
App::new()
2020-11-13 01:23:57 +00:00
.add_plugin(LogPlugin::default())
.add_system(hello_wasm_system)
2020-11-13 01:23:57 +00:00
.run();
}
fn hello_wasm_system() {
2020-11-13 01:23:57 +00:00
info!("hello wasm");
}