Add Bevy remote protocol setup
This commit is contained in:
parent
6a151397de
commit
2df3f0262b
3 changed files with 264 additions and 3 deletions
10
src/main.rs
10
src/main.rs
|
@ -1,8 +1,14 @@
|
|||
use bevy::prelude::{App, AppExit};
|
||||
use bevy::{
|
||||
prelude::{App, AppExit},
|
||||
remote::{RemotePlugin, http::RemoteHttpPlugin},
|
||||
};
|
||||
use clap::Parser;
|
||||
|
||||
use distributed_physics_test::AppSettings;
|
||||
|
||||
fn main() -> AppExit {
|
||||
App::new().add_plugins(AppSettings::parse()).run()
|
||||
App::new()
|
||||
.add_plugins(AppSettings::parse())
|
||||
.add_plugins((RemotePlugin::default(), RemoteHttpPlugin::default()))
|
||||
.run()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue