Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using Unity3D in one of the iOS App's views

Tags:

ios

unity3d

I have an iOS app built natively using Cocoa. Now, I want to add a Unity3D simulation to it. Is it possible to invoke Unity simulation/screen on a button click on a native screen? Or do I have write my entire native iOS app as a plugin to the Unity screen?

like image 868
ilight Avatar asked Sep 20 '12 06:09

ilight


2 Answers

Since the question is "Is it possible?" the answer is "Yes". As to the how:

http://www.markuszancolo.at/2014/05/integrating-unity-into-a-native-ios-app

like image 155
Markus Zancolò Avatar answered Sep 17 '22 01:09

Markus Zancolò


I would prefer to post this as a comment, but I don't have the reputation to do so (yet).

I contributed extensively to this thread here:

http://forum.unity3d.com/threads/191971-Unity-AppController-subclassing

I have been able to successfully integrate Unity views within a native iOS project, whether it be programatically, via a XIB, or even via a StoryBoard.

like image 36
joelg Avatar answered Sep 20 '22 01:09

joelg