void Update()
 {
     if (udpConnection != null)
     {
         udpConnection.FlushReceivedData();
     }
 }