public AsyncConnect ( string ip, int port ) : bool | ||
ip | string | |
port | int | |
return | bool |
public void OnConnect() { network.AsyncConnect("127.0.0.1", 25251); connectionText.text = "Connecting..."; outputScroll.GetComponentInChildren <Text>().text = "sdffsdfdsd"; outputScroll.GetComponentInChildren <Scrollbar>().enabled = true; }
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; }