string testEchoString = "test echo string";
IntPtr echoedStringPtr = EchoBack(testEchoString);
String echoed = Marshal.PtrToStringAnsi(echoedStringPtr);
http://forum.unity3d.com/threads/c-plugin-getting-a-string-back-from-a-function.123594/
string testEchoString = "test echo string";
IntPtr echoedStringPtr = EchoBack(testEchoString);
String echoed = Marshal.PtrToStringAnsi(echoedStringPtr);
http://forum.unity3d.com/threads/c-plugin-getting-a-string-back-from-a-function.123594/