How to pass complex objects from unity script to xcode project source?

I’m trying to use the plugin method from unity to pass a complex object, like a class , or an array to Xcode side, is it possible? Tested passing int, double, boolean etc primitive data type and they have no problem, how about class objects or array?

I’m using this, for clarification:

[DllImport("__Internal")] extern static public void testingFunction();

To do that you will need to read up about something called Marshalling. You can find it here: Redirecting… . Just go to the section Class and Structure Marshalling. Sorry, no easy answer here…