Hi,
How do you import an object type into Unity?
For instance, let's say I have a .so library written in C/C++ with this inside:
Lib:
typedef struct myObject{
// some stuff here
} myObject;
Then what do I do in Unity to get this back?
[DllImport("mylib")]
// Something?
If needed, yes I've looked it up on the internet, read the Unity documentation, other threads etc... the only thing I have found was [this][1] and it didn't help me because I don't know what's inside myObject and I don't need to.
Any help would be appreciated.
Thanks
[1]: http://forum.unity3d.com/threads/calling-c-plugin.16000/
↧