public void HandleNetwork() { // if(wsClient.ws.IsConnected) // { string data = "update"; if (data != "") { wsClient.SendData("newData"); Debug.Log("Client send data: " + data); var stringResult = wsClient.Ask(data); Debug.Log("Client ask data: " + stringResult); } // } // else { // Debug.Log("Disconnected... !"); // } }