- Home /
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.
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.
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).
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.
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 :)
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
Follow this Question
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