Ejemplo n.º 1
0
 // Update is called once per frame
 void Update()
 {
     if (_frame++ % PollFrameFrequency == 0)
     {
         LatestMessage = Downloader.DownloadData();
     }
     //Debug.Log(LatestMessage.SequenceId);
 }
Ejemplo n.º 2
0
 private void UpdateMotorGUI(int idx, MotorsProtocol message)
 {
     TextBlocks[idx].text = string.Format("{0:F2}mm", message.Motors[idx].ExtensionLength);
 }