- Home /
Application.OpenURL -- Possible to make game "hide"?
Hello!
I'm using Application.OpenURL (); to open a webpage. However, it loads behind the game. I'd like for the user to click the button and have their browse come up.
The game is full screen -- is there a way to minimize or hide the window through code?
Thanks!
That would, of course, quit the game. I don't want to quit the game, I want the browser to open above the game, or somehow hide the game, $$anonymous$$imize the game, background the game. Not quit.
On Android it doesn't close it but $$anonymous$$imize it only i think. Need confirmation.
Are you trying to open a webpage running the game in a browser or running the game as a standalone?
Answer by maccabbe · Feb 26, 2015 at 08:07 AM
The following will work if you are not running in the web player
System.Diagnostics.Process.Start("http://google.com/");
http://answers.unity3d.com/questions/21630/is-there-a-way-to-force-the-unity-player-to-minimi.html
That worked to load the page, but it didn't $$anonymous$$imize or otherwise change the unity game screen. :/
Your answer
![](https://koobas.hobune.stream/wayback/20220613184351im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Combine OpenURL with WWW post? 2 Answers
OpenURL not working on Android 3 Answers
How to minimize the game and open a web page? 0 Answers
is it me or Application.OpenURL does not work in NACL? 0 Answers
Application openurl sms parameters 2 Answers