private async void Update() { // Debug from Editor if (triggerSend) { triggerSend = false; connection.Send(debugMsg); } if (connection.incomingQueue.Count > 0) { string msg = connection.incomingQueue.Dequeue(); await Task.Delay(timer); GameManager.gm.AppendLogLine($"From CLI: {msg}", false); await parser.DeserializeInput(msg); } }