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
1
Question by naveenrai8 · Apr 18, 2013 at 01:08 PM · guibestpracticesembed

Want to run unity game inside GUI of another application

Hi All,

I have a requirement to run game, developed in UNITY, inside one of the tabs of another application. Idea is to have a GUI with tabs and one of the tab named is "Game". When user click on "Game" tab, game will start (if not started already) or continue inside that application only.

I have spent lots of time over internet and unity forum to get it solved but no luck so far.

If there is any link that solves my problem, please do share with me.

If anyone has done it before that what GUI framework is best for all platfroms (Windows/Android/IPAD).

Thanks in advance!

PS: I could not thought of any good tag. Hence, I put it under "Another" and "Run" tag.

Comment
Add comment
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

2 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by TonyLi · Apr 18, 2013 at 02:37 PM

Make your Unity game a web build, and make your "Game" tab load the URL in an embedded web browser. The URL can point to an html file on the local system; it doesn't need to point to a remote web server.

I'm a fan of NGUI for cross-platform interfaces.

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 naveenrai8 · Apr 18, 2013 at 03:45 PM 0
Share

Thanks a lot TonyLi!!

$$anonymous$$y game size is more than 100$$anonymous$$B. does web build support such a heavy game to run on browser without any jitter??

NGUI: I think, NGUI is for UNITY only and it can only be written and build from unity. (please correct me if I am wrong). I was looking for some GUI framework like QT that are compatible with all platforms (Windows/Android/Ipad).

avatar image TonyLi · Apr 18, 2013 at 04:04 PM 1
Share

Yes, 100$$anonymous$$B should be fine as long as the build is on the local computer. If you're strea$$anonymous$$g from the web, you'll want to make it much smaller. See http://docs.unity3d.com/Documentation/$$anonymous$$anual/WebPlayerStrea$$anonymous$$g.html.

avatar image
0

Answer by petersvp · Oct 26, 2015 at 10:41 AM

There is far better solution: build a Standalone player so you don't have feature cutoffs and can use DLLs, Then launch ut with ParentHWND command-line option. This way you can embed Standalone player in Qt GUI (and everywhere else) with ease :)

Comment
Add comment · Show 1 · 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 MNNoxMortem · Sep 11, 2016 at 04:38 PM 0
Share

This sounds exactly like what I am looking for. Could you add a link to any documentation, tutorial or help with this?

Is this still possible? I have found another forum post which states that this feature was removed/is not working anymore?

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

14 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 avatar image avatar image

Related Questions

Best Practices for GUI Relative Positioning 2 Answers

Best practices to listen for inputs and show GUI? 0 Answers

Embed GUI Skin in GUI Button 2 Answers

GUI best pratices? 6 Answers

Trying to make an ASCII UI based game 0 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