x


Embed Unity game in a ViewController within my ios app.

I need to display my unity game within my ios app. My app has a main view and there are toolbars as subviews of that view. I want to put my game in a subview of the main view too, but I can't figure out how? I looked through the unity code and it is creating a window for unity, but I need it to be a view. I also need my toolbar and unity to be enabled (i.e. touchable) simultaneously. As a simple example of what I want to do--I want to be able to click the "red" button in my ios app and that changes the color of the ball in my unity game. I know this could all be done within unity, but I have extensive ios code that I do not and in some cases cannot re-write. Thanks for the help!

more ▼

asked Mar 25 '11 at 05:37 PM

CDogg gravatar image

CDogg
11 1 1 2

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

hi, i believe there is no easy way for you integrate your unity3d app and your xcode app. If you really want to try you can look into this

Not a lot of sample is provided and you may have to contact the dev in order to work it out. Expect a lot of experimentation and debugging. Good luck.

more ▼

answered Jun 01 '11 at 06:14 PM

onllm gravatar image

onllm
86 16 16 17

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x2540
x2150
x189
x42
x11

asked: Mar 25 '11 at 05:37 PM

Seen: 2423 times

Last Updated: Jun 01 '11 at 06:14 PM