- Home /
problem plugin
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 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.
Your answer
Follow this Question
Related Questions
A node in a childnode? 1 Answer
Distribute terrain in zones 3 Answers
Multiple Cars not working 1 Answer
How do you access other Variables on other scripts c# 1 Answer
WaitForSeconds not working at all C# 2 Answers