Quantcast
Channel: Questions in topic: "externaleval"
Browsing latest articles
Browse All 14 View Live

trying to prevent unity web build to run if it is not located at the certain...

here is the code i have:Application.ExternalEval("if(document.location.host != 'google.com') { document.location='http://unity.com'; }");so this basically means that if web player is not located at...

View Article



ExternalEval not working on Mac?

Either I'm doing something very wrong or this isn't working on Mac at all. Works fine on Windows (IE, Chrome, FF), but I get no indication of it working at all on Mac FF, Chrome, SafariHas anyone...

View Article

Unity web player not calling up webpages using JS in internet explorer

Hi I have an online version of my game online which opens external webpages at certain points throughout using Application.ExternalEval("window.open('http://www.yourwebname.html','name')"); This works...

View Article

Webplayer ExternalEval

Hello, Can I use ExternalEval in a webplayer when the javascript is disabled ? Application.ExternalEval("if(document.location.host != 'unity3d.com') {document.location='http://unity3d.com'; }"); Thanks !

View Article

ExternalEval and Url Error

Hi I have : Application.ExternalEval("window.open('http://domain.com/link.mstrURL+"','_blank')"); and in my `link.mstrURL`, I have my specific link. It works well but it seems that when I have...

View Article


Get the website that hosts my game

Hello, I'm trying to figure out how to get the name of the website that hosts my game. If my game is on http://somerandomWebsite.com/mygame.unity3d i want to be able to use the string...

View Article

Can some one teach me how to use ExternalEval ?

Hi, i need some one who can help me with Application.ExternalEval, my issue is that i have downloaded the package here to try to do what is on video https://www.youtube.com/watch?v=RqoM3H2lFHE but the...

View Article
Browsing latest articles
Browse All 14 View Live




Latest Images