AsyncConnect() public method

public AsyncConnect ( string ip, int port ) : bool
ip string
port int
return bool
Exemplo n.º 1
0
 public void OnConnect()
 {
     network.AsyncConnect("127.0.0.1", 25251);
     connectionText.text = "Connecting...";
     outputScroll.GetComponentInChildren <Text>().text         = "sdffsdfdsd";
     outputScroll.GetComponentInChildren <Scrollbar>().enabled = true;
 }
Exemplo n.º 2
0
 public void OnConnect()
 {
     //network.AsyncConnect("192.168.0.43", 25251);
     network.AsyncConnect("galaxyenter.cloudapp.net", 25251);
     connectionText.text = "Connecting...";
     outputScroll.GetComponentInChildren <Text>().text         = "sdffsdfdsd";
     outputScroll.GetComponentInChildren <Scrollbar>().enabled = true;
 }