Exemple #1
0
 public void Connection() //连接服务器
 {
     client = new ClientControl();
     try
     {
         client.ConnectionServer("192.168.1.171", 16383, GetSelfData()); //连接服务器,初始化数据
     }
     catch
     {
         Debug.Log("该服务器未运行");
     }
 }