Hey all
i want to pass an already created string array to method in c++ plugin by reference so that i can modify it in c++ method and acces it back in my csharp script …
any idea or link to do so ?
Thanks…
Hey all
i want to pass an already created string array to method in c++ plugin by reference so that i can modify it in c++ method and acces it back in my csharp script …
any idea or link to do so ?
Thanks…
I don’t think you can since C# inside Unity runs in safe mode.
But you could certainly pass the strings by copy and let your C++ plugin return a (new) modified array of strings.