public static string[] getAvailablePropertyStrings() { //get the property strings int count = 0; IntPtr strings = IntPtr.Zero; if (VIDEO_getAvailablePropertyStrings(ref count, ref strings) == 0) { string[] propStrings = MarshallCommon.PtrToStringArray(count, strings); Debug.Log("listPropertyStrings BEGIN"); for (int i = 0; i < count; i++) { Debug.Log(propStrings[i]); } Debug.Log("listPropertyStrings END"); return(propStrings); } else { return(new string[0]); } }
public static void DebugPrint(IntPtr msg) { Debug.Log("VW Callback::" + MarshallCommon.PtrToString(msg)); }