Skip to content

Commit

Permalink
improved log + clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix Lange committed Apr 30, 2018
1 parent 1d7342e commit e23b8e8
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/Examples/SimpleReceiver/SimpleReceiverExample.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,10 @@ void Start () {

// Update is called once per frame
void Update () {
// Debug.Log("before receive");
if(reciever.hasWaitingMessages()){
OSCMessage msg = reciever.getNextMessage();
Debug.Log("msg received");
Debug.Log(msg.Address);
// Debug.Log(msg.Data.Count);
Debug.Log(DataToString(msg.Data));
Debug.Log(string.Format("message received: {0} {1}", msg.Address, DataToString(msg.Data)));
}
// Debug.Log("after receive");
}

private string DataToString(List<object> data)
Expand Down

0 comments on commit e23b8e8

Please sign in to comment.