|
Where would one start with implementing a cocoa bridge from unity iphone . I need to access native functions for sending image via SMS and assign to a contact. Any help is greatly appreciated. Thanks.
(comments are locked)
|
|
Dupe: http://answers.unity3d.com/questions/3537/xcode-to-unity-communication/3572#3572 The answer to that question is slightly out of date for the native code -> unity communication. As of Unity iPhone 1.6 (or so), there's a native function defined in iPhone_target_Prefix.pch that you can use to send a message to a game object in your Unity scene. If you understand Unity's messaging system it should be pretty self-explanatory.
(comments are locked)
|
|
You need to use the Pro Version of Unity in order to use your own Objective-C code as a plugin.
(comments are locked)
|
