Пример #1
0
        void Start()
        {
            udp = new UdpConnection();
            udp.Connect("", 7777);

            udp.ReceiveEvent += OnReceive;

            udp.DisConnect();
        }
Пример #2
0
 private void OnApplicationQuit()
 {
     _udp.DisConnect();
 }
Пример #3
0
 private void OnApplicationQuit()
 {
     connection.DisConnect();
 }