public void JoinGame() { string ipAddress = ipAddressInputField.text; networkManager.networkAddress = ipAddress; networkManager.StartClient(); joinButton.interactable = false; }
public void onJoinButton() { manager.networkAddress = ipField.text; if (!NetworkClient.active) { manager.StartClient(); } }
public void Join() { if (networkDiscoveryHUD.discoveredServers.Count != 0) { networkManager.StartClient(serverResponse.uri); //networkDiscovery.AdvertiseServer(); isPressed = true; } else { networkLobby.StartClient(); isPressed = true; } }