Exemplo n.º 1
0
 public void Connect(string ipToConnect){
     //game connection routine            
     Debug.Log(ipToConnect);
     RequestMobile.ip = "http://" + ipToConnect;            
     rm = gameObject.AddComponent<RequestMobile>();                        
     responseWindow.Connected();
 }
Exemplo n.º 2
0
 public void StopGame(){            
     Destroy(rm);
     rm = null;
     RequestMobile.endGame = false;
 }