public void connect(string ip, int port) { if (net != null) { Debug.Log("connect server : " + ip + ", port : " + port); net.connect(ip, port, connected); } }
public void connect(string ip, int port) { if (net != null) { ip_ = ip; port_ = port; Debug.Log("connect server : " + ip + ", port : " + port); net.connect(ip, port); } }