application.openurl 打开网址

2014-12-31 08:46| 发布者: 杨炎| 查看: 2817| 评论: 0|原作者: 蛮牛|来自: yzc88亚洲城脚本manual

摘要: application.openurl 打开网址static functionopenurl(url: string) : voiddescription描述opens the url in a browser.在浏览器中打开url 。in the editor or standalone player this will open a new page in the ...

application.openurl 打开网址

static functionopenurl(url: string) : void

description描述

opens the url in a browser.

在浏览器中打开url 。

in the editor or standalone player this will open a new page in the default browser with the url. it will also bring the browser application to the front.

编辑器或者独立播放器模式下,这将在缺省的浏览器中使用新页打开url 。这将使浏览器位于前端

when executed in the web player, the page the plugin is contained in will be redirected to the url.

但在网页中执行时,包含插件的页将被重定向到 url

c#

javascript

using unityengine;

using system.collections;

public class example :monobehaviour{

void start() {

application.openurl("http://game.ceeger.com/");

}

}

function start () {

application.openurl ("http://game.ceeger.com/");

}

相关阅读

文章点评
相关文章