Esempio n. 1
0
 // Update is called once per frame
 void Update()
 {
     if (gm.qmessage != "")
     {
         //print("UDPmanager found message :"+gm.qmessage);
         sendmsg(gm.qmessage);
         gm.qmessage = "";
     }
     if (receivedUDPmessage != "")
     {
         //print("UDPmanager received message :"+ receivedUDPmessage);
         gm.udpstring(receivedUDPmessage);
         receivedUDPmessage = "";
     }
 }