|
Hello, I have 3 classes. mm of record and playback and of course a main that uses these three classes of course I must make a plugin to be visible to unity. I wanted to know what it is possible to convert the extension of main.m in http://main.mm by adding the statement: extern "C" { int main (int argc, char * argv []); } then in c # we put: [DllImport ("__Internal")] private static extern int main (int argc, char * argv []); m with the way it displays an error but did not indicate what it is. if it is not possible you can offer me a solution (how can I create a plugin with 3 classes and main) please. if not there is another bundle method with the same problem but I must find a solution to my classes. I hope you answer me as soon as possible:) thank you.
(comments are locked)
|
