async void Start()
    {
        try {
            var jsonClient = new JsonRestClient(this);
            var url        = isLocal ? "http://*****:*****@" + response.IpAddress + " on:" + response.Port);
            client.StartNetworked(response.Port, response.IpAddress, response.PlayerSessionId, this, settings);
        } catch (Exception e) {
            Debug.LogError("failed to start");
            Debug.LogError(e);
        }
    }
Esempio n. 2
0
 public void StartCommunications(int port)
 {
     client.StartNetworked(port, "127.0.0.1", guid, this, settings);
 }