bevy/examples/plugin_loading/main.rs

12 lines
265 B
Rust
Raw Normal View History

2020-01-21 04:10:40 +00:00
use bevy::prelude::*;
fn main() {
App::build()
2020-02-18 02:36:31 +00:00
.add_defaults()
2020-03-09 06:19:07 +00:00
.load_plugin(concat!(
env!("CARGO_MANIFEST_DIR"),
"/examples/plugin_loading/example_plugin/target/release/libexample_plugin.so"
))
2020-01-21 04:10:40 +00:00
.run();
}