bevy/examples/wasm/hello_wasm.rs
Carter Anderson e03f17ba7f
Log Plugin (#836)
add bevy_log plugin
2020-11-12 17:23:57 -08:00

13 lines
231 B
Rust

use bevy::{log::LogPlugin, prelude::*};
fn main() {
App::build()
.add_plugin(LogPlugin::default())
.add_system(hello_wasm_system.system())
.run();
}
fn hello_wasm_system() {
info!("hello wasm");
}