bevy/examples/wasm/hello_wasm.rs

13 lines
229 B
Rust
Raw Normal View History

2020-11-13 01:23:57 +00:00
use bevy::{log::LogPlugin, prelude::*};
fn main() {
App::new()
2020-11-13 01:23:57 +00:00
.add_plugin(LogPlugin::default())
.add_system(hello_wasm_system.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");
}