Ejemplo n.º 1
0
 // Start is called before the first frame update
 void Start()
 {
     TCPClient.ConnectIfNotConnected();
     TCPClient.SetMessageHandler(handler);
 }
 private void ConnectToServer()
 {
     TCPClient.ConnectIfNotConnected();
     TCPClient.SetMessageHandler(handler);
     TimeoutMessagePanel.gameObject.SetActive(false);
 }