找回密碼
 注冊帳號

掃一掃,訪問微社區

application.openurl 打開網址

2014-12-31 08:46| 發布者: 楊炎| 查看: 3220| 評論: 0|原作者: 蠻牛|來自: unity3d腳本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/");

}

相關閱讀

文章點評
相關文章
女校游泳队彩金