public void SendOscMessage(string content) { string text = string.IsNullOrEmpty(address) ? content : address + " " + content; OscMessage msg = Osc.StringToOscMessage(text); oscHandler.Send(msg); SenderPrinter.Invoke(text); }
private void Update() { if (oscMessage != lastMessage) { UpdateAddressEvent(oscMessage); RecieverPrinter.Invoke(string.Format("{0} {1}", oscMessage.Address, ArrayListToString(oscMessage.Values))); lastMessage = oscMessage; } }