|
Does anyone know how to sneak a UIView into a Unity game through XCode and use it to launch scenes?
(comments are locked)
|
|
This is possible, but it isn't an easy task. You can achieve that with use of native plugin (Unity iPhone Advanced feature):
Awesome thanks.
May 24 '10 at 01:51 PM
rd42
Another question, I also want to pass some values to the unity when I launch it from the UIView. Any ideas on that?
Jun 05 '10 at 02:33 PM
rd42
UnitySendMessage accepts 1 string parameter that will be passed to your script method. So you can use it to pass some basic info. Another way is to store your native data into some global static native structure: * create native function to access this data, * create C# wrapper for this native function (see native code example), * call this C# wrapper in some your script Awake / Update method.
Jun 09 '10 at 10:38 AM
Mantas Puida
(comments are locked)
|

slightly related topic, using xcode in unity: http://forum.unity3d.com/threads/57750-make-a-native-call-to-output-the-compass-value