Example #1
0
 /// <summary>
 /// Static call to send a UDP request
 /// </summary>
 /// <param name="p"></param>
 public static void Request(UDPPacket p, bool wait = true)
 {
     if (udp == null)
     {
         udp = FindObjectOfType <UDP>();
     }
     if (udp == null)
     {
         return;
     }
     udp.Comm(p, wait);
 }