noocrypte.net http://noozone.free.fr/noocrypte/ |
|
Unity 3D- OpenURLvariable http://noozone.free.fr/noocrypte/viewtopic.php?f=47&t=929 |
Page 1 sur 1 |
Auteur: | yann.minh [ Jeu Avr 28, 2011 12:21 am ] |
Sujet du message: | Unity 3D- OpenURLvariable |
Code: var siteweb = "";
function OnMouseDown () { Debug.Log("livre clique"+siteweb); if ((Application.platform == RuntimePlatform.OSXWebPlayer) || (Application.platform == RuntimePlatform.WindowsWebPlayer)) { //var siteweb : WWW = new WWW (url); Application.ExternalEval("window.open('siteweb');"); } else { Debug.Log("livre en mode editeur"); Application.OpenURL("siteweb"); } } |
Page 1 sur 1 | Heures au format UTC [ Heure d’été ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |