Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode workspace with Unity3D as a sub-project?

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?

like image 438
Di Wu Avatar asked Jun 19 '12 02:06

Di Wu


People also ask

Can I use Xcode with Unity?

Build the Xcode project Build the app by going to File -> Build Settings, selecting iOS and clicking Build. Unity will build the selected scenes and produce an XCode project in the selected folder. Depending on your versions of Unity and Xcode, you may be able to select Build and Run instead.

What is the difference between workspace and project in Xcode?

Workspace is responsible for dependencies between projects. Project is responsible for the source code.

How do I add a project to workspace in Xcode?

In the Project navigator, Control-click in the empty space and choose Add Files to “workspaceName”. In the sheet that appears, select an Xcode project (a file with a . xcodeproj filename extension). Click Add to add the project to the workspace.

Can Unity deploy to iOS?

Unity includes a built-in publishing feature that allows you to publish to various popular platforms in an easy and efficient way. You can publish the same application to multiple platforms, provided the application design takes into account each platform's unique hardware and software requirements.


1 Answers

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:

like image 163
giacomelli Avatar answered Sep 30 '22 19:09

giacomelli