protected void OnEnable() { broadcastWait = new WaitForSeconds(broadcastInterval); if (udpMessage == null) { InitMessage(); socketer.StartClient(); } StartCoroutine(BroadcastIpCo()); }
public void ConnectToServer(string address) { socketer.Host = address; socketer.StartClient(); }