Xcode workspace with Unity3D as a sub-project?

ios, iphone, objective-c, unity-game-engine, xcode

Solution

Yes, it's possible.

The guys from Blurst have made some games using Cocoa as frontend and Unity to 3D stuffs. Take a look on links below, there are very good informations on them:

- A Cocoa-Based Frontend For Unity iPhone Applications

- Building a iOS Unity + UIView / UIViewController / Interface Builder App

- An Experiment with iPhone Native UI and Unity 3 Pro

- Unity Iphone App Embebed in objectiveC app

Problem

Let's say we're developing a 2D game with Cocos2d-iPhone and UIKit and CoreAnimation. But we're also considering leveraging the 3D capabilities of Unity 3D. Is it possible that we add the Unity3D-generated Xcode project as a sub-project into the workspace and expose the 3D UI element as some kind of UIView subclass so that the native UIKit and CoreAnimation code could use them without the need to mess up with their underlying Unity3D implementation?

Original source