// 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 = ""; } }