x


iphone integration, cocoa frontend

I have successfully exported my game as an iphone app. I load it in xcode and build/run it on my device. It all works very well, great! But I'd like to supplement my app to have other pages/functionality. At the very least, I'd like a welcome screen to display that has a button on it that will take me into my game. I imagine this is a very common request for developers (I don't suppose many people want there people to go straight into the game).

Can I get a little help as to how to do that? I found this article which was very descriptive, but didn't work. That article is three years old, and with all the advancements in unity, I would imagine the unity project he was integrating 3 years ago looks a ton different than what I'm working with today.

I'm a very novice iphone developer. I'm learning it just for this project, so the more info the better. Thanks!

more ▼

asked May 15 '12 at 11:41 PM

landon.silla gravatar image

landon.silla
0 1 1 1

I'd rather recommend to use a separate scene that holds your Menu system, use the Unity GUI functions to create the button and whatever else you need and then load the level via Application.LoadLevel("yourGameScene"). Unless you really need some specific iOS interface functionality, it's a lot more trouble than it's worth.

May 16 '12 at 12:36 AM hathol

Well my needs go well beyond a simple single button welcome screen. I actually have a whole iphone project already and I'm looking to add Unity as a supplement to my app. Basically, I just want to add a button on the first page that brings me into Unity, then a button within Unity to bring me back and then I can navigate around in my app there.

May 16 '12 at 12:50 AM landon.silla
(comments are locked)
10|3000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
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:

x3737
x1999
x42
x7

asked: May 15 '12 at 11:41 PM

Seen: 513 times

Last Updated: May 16 '12 at 12:50 AM