I am trying to update my old Unity xCode (Unity 3.5) project to Unity (4.5.4). The app will crash using this method po:
UnitySendMessage([className UTF8String], [methodNameName UTF8String], nil);
Help me, please.
In Unity (4.5.4), they are using char parameter like this:
(UnitySendMessage(const char* obj, const char* method, const char* msg);)
So we want change the call like this:
UnitySendMessage("className", "methodNameName" , "Nil");
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With