- Home /
Application.ExternalCall equivalent for iOS Unity
Hi,
I have integrated a Unity app inside of my existing iOS UIKit app but require to be able to pass a parameter into the Unity player. Basically the Unity player loads content from a dynamic URL, I need to be able to pass in the dynamic URL to the Unity player from UIKit.
Does Unity for iOS provide some sort of Application.ExternalCall function with which I can call a method inside the Unity app from within UIKit? Or alternatively, can I get Unity to read a value I've set in NSUserDefaults?
Many thanks, Dan
Answer by J3-Gaming · Sep 13, 2012 at 04:00 PM
You will have to create a plugin, inside the plugin code you can get at the core ios method calls. Then you can create yourself public methods for use inside unity.
Your answer
Follow this Question
Related Questions
How to start and stop unity within an existing iOS app 2 Answers
Adding a Unity 3D view on top of UIKit again 0 Answers
The name 'Joystick' does not denote a valid type ('not found') 2 Answers
iOS - Multiple Photo Picker? 0 Answers
Does unity change AppController.mm or is it the same every time? 1 Answer