Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by HiddenDev · Jan 23, 2012 at 06:36 PM · iosnative

Start a Unity app from inside a native iOS app

Hi everyone,

Can someone point me some documentation about how to start a Unity application from inside a native iOS app?

The idea is to use the Unity app as a module of bigger app.

Thanks!

Comment
Add comment · Show 4
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Fattie · Jan 23, 2012 at 09:48 PM 0
Share

there's an awesome (free!) widget for this type of thing, on the Asset Store ... check it out. search on "iOS kit" or similar)

avatar image HiddenDev · Jan 24, 2012 at 09:05 AM 0
Share

If you're talking about Prime31's native toolkit, that's not exactly what I'm looking for. This toolkit allows to use native interface from inside a Unity app. I want to use a Unity app from inside a native app.

avatar image rabbitfang · Jan 24, 2012 at 09:32 PM 0
Share

Your question is a little confusing. Are you talking about a Unity application or Unity itself? (You say 'Unity' in title and comment, but 'application' in description).

Because Unity only runs on OSX and Windows.

avatar image maciekish · Jan 25, 2012 at 09:06 AM 0
Share

@rabbitfang I bet he's talking about a Unity application.

8 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by maciekish · Jan 25, 2012 at 09:09 AM

Here you go http://fredandrandall.com/blog/2011/07/30/how-to-launch-your-macios-app-with-a-custom-url/

Remeber you can't run an app inside another app just like that. There will be a quick (but apparent) task switch.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image HiddenDev · Jan 25, 2012 at 09:16 AM 0
Share

Hi maciekish. Thanks for your answer. However that's not exactly what I'm looking for because I want everything packaged into one app. Also I'm not sure this method allows to return a result such as "player won" or "lost".

avatar image maciekish · Jan 25, 2012 at 09:18 AM 0
Share

Sorry about that, but your question stated that you want to launch a Unity app from another app, i would word that question differently :)

avatar image
-1

Answer by HiddenDev · Jan 25, 2012 at 09:08 AM

As a first solution, here is what I found so far:

http://technology.blurst.com/a-cocoa-based-frontend-for-unity-iphone-applications/

http://clevermartian.com/blog/?p=59

However those two solutions are from 2009 and 2010, I'm looking for something more recent. Anyway it should make my problem more clear.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by atmob · Jan 25, 2012 at 08:52 PM

I'm looking for the same information, and having the same problem as you ...... If I find something good, I let you know. Tks @mob

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by toru_inoue · Dec 05, 2012 at 06:49 AM

How about this. Run iOS Unity-build from iOS App (Japanese)

http://bit.ly/Vtzf3k

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by rogercottam · Dec 07, 2012 at 01:32 AM

I am also working on a solution to ADD Unity content to an existing native iOS App. On start up, a native iOS landing screen will present the option to continue to the native app content or go to the 3D experience.

My current solution is to instantiate this landing screen view and controller at the end of prepareRunLoop, add it to the main window, and pause Unity. When the "go to 3D" button is pressed on this landing screen it is destroyed and Unity is unpaused - revealing a functioning 3D application. When the "go to app" button is pressed I plan to figure out how to get our existing app's initial view controller loaded and never unpause Unity (try to destroy it if I can). I'll have to merge our app controller with the one Unity generates, and this process will have to happen any time we re-build the "combined" app. We don't have a fully functional proof of this quite yet - but it is close.

I'm curious if this will get tripped up during Apple's approval process. Anyone have experience with submitting something like this?

Another option is get in earlier in the loading process to stop Unity starting up until some native action is taken, but exploring this option was certainly difficult and not obvious. We had something like this working with Unity 3 and xcode ? a while back but many things have changed and we weren't really happy with its complexity.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
  • 1
  • 2
  • ›

Your answer

Hint: You can notify a user about this post by typing @username

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

Answers Answers and Comments

12 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

What is the best way to integrate native XCODE 0 Answers

Unity 5 and IOS Native plugins 0 Answers

A node in a childnode? 1 Answer

Unity iOS - Launch Native Window Instead of Unity 3 Answers

Existing Native app, put Unity in as a subview 4 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges