Answer by Bunny83
Don't mix up different contexts. Unity's scripting environmant is completely seperated from the website the player runs in. You can't use a variable defined in Unity in webpage javascript, but you can...
View ArticleAnswer by lcn75
here the solution: var setURL : String = "http://www.google.it"; function OnMouseDown():void { Application.ExternalEval("window.open('" + setURL + "')"); } thank you all!
View Article
More Pages to Explore .....