public void StartClient() { client = new InteroClientTCP(); client.username = "******"; client.Connect(8080); print("Connecting to Server"); }
public void StartClient() { client = new InteroClientTCP(); client.username = nameText.text; ergSimulator.SetPace(speedText.text); try { print(" Starting client "); client.Connect(8080); print(" End client "); } catch (Exception e) { print(" fv " + e.Message); } }
public void StartClient(string username) { if (client != null) { client.OnDestroy(); } client = new InteroClientTCP(); client.username = username; ergSimulator.SetPace("120"); try { client.Connect(8080); } catch (Exception e) { print(" fv " + e.Message); } }