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