Esempio n. 1
0
 private static void Send(FoxUdp udp)
 {
     if (!mIsInit)
     {
         mIsInit = true;
     }
 }
Esempio n. 2
0
    public static void SentMsg(string key, FNetHead json)
    {
#if UNITY_EDITOR
        if (FEngine.instance.UDPOPEN)
        {
            FoxUdp fu = new FoxUdp();
            fu.key  = key;
            fu.json = StringSerialize.Serialize(json);
            Send(fu);
        }
#endif
    }