unity 3d- Ouvrir une page web dans une frame
Publié : mer. févr. 22, 2012 4:07 am
Pour ouvrir une page web dans une frame particulière, lors d'un clic Inworld sur une texture ou un objet :
http://answers.unity3d.com/questions/20 ... owser.html
http://answers.unity3d.com/questions/20 ... owser.html
Code : Tout sélectionner
// Declenche l'ouverture d'une page web "IndDessins.html" dans la frame appelée "framecc"
function OnMouseUp () {
var tJSString = "window.open('IndDessins.html','framecc')";
Application.ExternalEval(tJSString);
}