Application翻译:^牛^魔王
- absoluteURL
- backgroundLoadingPriority
- CancelQuit
- CanStreamedLevelBeLoaded
- CaptureScreenshot
- dataPath
- ExternalCall
- ExternalEval
- GetStreamProgressForLevel
- internetReachability
- isEditor
- isLoadingLevel
- isPlaying
- isWebPlayer
- levelCount
- loadedLevelName
- loadedLevel
- LoadLevelAdditiveAsync
- LoadLevelAdditive
- LoadLevelAsync
- LoadLevel
- LogCallback
- OpenURL
- persistentDataPath
- platform
- Quit
- RegisterLogCallbackThreaded
- RegisterLogCallback
- runInBackground
- srcValue
- streamedBytes
- systemLanguage
- targetFrameRate
- temporaryCachePath
- unityVersion
- webSecurityEnabled
Application.OpenURL 打开网址
static function OpenURL (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
using UnityEngine;
using System.Collections;
public class example : MonoBehaviour {
void Start() {
Application.OpenURL("http://3d.ceeger.com/");
}
}
function Start () {
Application.OpenURL ("http://3d.ceeger.com/");
}
最后修改:2010年12月15日 Wednesday 20:43