Quantcast
Channel: Questions in topic: "webgl"
Viewing all articles
Browse latest Browse all 2390

Open WebGL link different from the domain i'm running my gam

$
0
0
I'm trying to open and url from my WebGL build with: `Application.OpenURL("...");` but what happens is that i'm not leaving my domain to the referred url but webgl is adding the url to the current page. For example i'm running my game on http://www.mydomain.com/gamefolder/mygame.html and i click on the raycasted gameobject to open the link: http://www.thelinkiclicked.com webgl loads the page: http://www.mydomain.com/gamefolder/www.thelinkiclicked.com giving me the error 404 page not found of course. how can i solve this problem? Thanks

Viewing all articles
Browse latest Browse all 2390

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>