bevy_remote_wasm 0.1.0

Wasm transport for the Bevy Remote Protocol
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! A minimal Remote Wasm Bevy app.
//! Run this example with [just](https://just.systems/):
//! ```bash
//! just run-example minimal
//! ```

use bevy::prelude::*;
use bevy_remote::RemotePlugin;

fn main() {
    let mut app = App::new();
    app.add_plugins((DefaultPlugins, RemotePlugin::default()));
    #[cfg(target_family = "wasm")]
    app.add_plugins(bevy_remote_wasm::RemoteWasmPlugin);
    app.run();
}