Does anyone know how to sneak a UIView into a Unity game through XCode and use it to launch scenes?
May 03 '10 at 07:31 PM
May 25 '10 at 11:33 AM
slightly related topic, using xcode in unity: http://forum.unity3d.com/threads/57750-make-a-native-call-to-output-the-compass-value
This is possible, but it isn't an easy task. You can achieve that with use of native plugin (Unity iPhone Advanced feature):
May 24 '10 at 10:17 AM
Another question, I also want to pass some values to the unity when I launch it from the UIView. Any ideas on that?
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.
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
Once you sign in you will be able to subscribe for any updates here
Answers and Comments
The best place to ask and answer questions about development with Unity. Check out our FAQ for more information.
To help users post good questions and use the site effectively we have posted a tutorial video. Please check it out.
asked: May 03 '10 at 07:31 PM
Seen: 2234 times
Last Updated: May 25 '10 at 11:33 AM
Number of scenes for iPhone games
Optimize my game?
iPhone loading strategies ?
Load a Level on Touch
How would I debug a Unity-plugin from XCode?
iPhone: How do I ensure I'm not allocating memory in Update?
Convert from 2.6 to 1.5 (iPhone)
How do I create Visual Studio solutions for Mac using Unity iPhone and MonoDevelop?
ad networks - which are best for unity