Exemplo n.º 1
0
 public void Launch()
 {
     if (_Peer != null)
     {
         _Peer.Disconnect();
     }
     _Peer = new Regulus.Remoting.PhotonExtension.ClientPeer(this, ExitGames.Client.Photon.ConnectionProtocol.Udp);
     _Peer.Connect(_Config.Address, _Config.Name);
     _Core = new AgentCore(_Peer);
 }