void Start() { udp = new UdpConnection(); udp.Connect("", 7777); udp.ReceiveEvent += OnReceive; udp.DisConnect(); }
private void OnApplicationQuit() { _udp.DisConnect(); }
private void OnApplicationQuit() { connection.DisConnect(); }