generated from tipragot/rust
Add the main menu #31
|
@ -15,7 +15,8 @@ impl Plugin for MenuPlugin {
|
|||
.add_systems(Update, ui_host_button);
|
||||
}
|
||||
}
|
||||
/// Display a connect window, with a button to join a game and an input to enter the address.
|
||||
/// Display a connect window, with a button to join a game and an input to enter
|
||||
/// the address.
|
||||
fn ui_connect_button(mut ctx: EguiContexts, mut connection_string: Local<String>) {
|
||||
egui::Window::new("Connect")
|
||||
.default_width(400.0)
|
||||
|
|
Loading…
Reference in a new issue