diff --git a/Runtime/OSCQuery.cs b/Runtime/OSCQuery.cs index 45ef967..fdda734 100644 --- a/Runtime/OSCQuery.cs +++ b/Runtime/OSCQuery.cs @@ -271,7 +271,7 @@ private void wsSocketError(WSQuery query) private void wsMessageReceived(WSQuery query, string message) { - Debug.Log("Message received " + message); + //Debug.Log("Message received " + message); JSONObject o = new JSONObject(message); if (o.IsObject) { @@ -505,6 +505,8 @@ JSONObject getObjectData(GameObject go, string baseAddress = "") } o.SetField("CONTENTS", co); + o.SetField("DESCRIPTION", getNiceName(go.name)); + @@ -661,7 +663,7 @@ JSONObject getPropObject(Type type, object value, RangeAttribute range = null, b string SanitizeName(string niceName) { - return niceName.Replace(" ", "-").Replace("(", "").Replace(")", ""); + return niceName.Replace(" ", "_").Replace("(", "").Replace(")", ""); } bool checkFilteredObject(GameObject go) diff --git a/package.json b/package.json index 62efef0..ff5fc4e 100644 --- a/package.json +++ b/package.json @@ -10,5 +10,5 @@ "repository": "github:benkper/Unity-OSCQuery", "unity": "2023.2", "unityRelease": "20f1", - "version": "1.1.7" + "version": "1.1.8" }