Exemplo n.º 1
0
 // Use this for initialization
 public override void Awake()
 {
     base.Awake();
     network = new NetworkModule(new GameNetWork.HttpMgr());
     network.Start();
     network.SockConnect("127.0.1", 3250, 0, () => { OnConnectedToServer(); }, null);
 }