Hi !
I have made a plugin for unity->iOS communication, it worked perfectly and now I'm working on answering from plugin to unity via UnitySendMessage function. I want to build my plugin in a separate project, as it intended to be.
I tried to link two libraries into my plugin found in /Applications/Unity/Unity.app/Contents/PlaybackEngines/iPhonePlayer/iPhone-Trampoline/Libraries/
libiPhone-lib-dev.a
libiPhone-lib.a
The code linked but it crashed the my app.
I need to invoke this function:
Calling C# / JavaScript back from native code Unity iOS supports limited native->managed callback functionality via UnitySendMessage:
UnitySendMessage("GameObjectName1", "MethodName1", "Message to send");
So the question is: -Which headers do I need to include? - Which libraries do I have to link?