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.webSecurityEnabled 网页安全模式
static var webSecurityEnabled : bool
Description描述
Indicates whether Unity's webplayer security model is enabled.
指示是否webplayer的安全模式是否被启用。
In the web player, this will always return true. In the Unity editor, it will return true if web security emulation is enabled(Menu->Edit->Project Settings->Editor) and false if the emulation is disabled. On all other platforms, this will return false; This property can only be read.
在Web播放器,这将始终返回true。在UNITY编译器中,如果启用了WEB安全模式(Menu->Edit->Project Settings->Editor)则返回真,如果没有启用则返回假。在所有其他平台,这将返回false;此属性只能被读取。
最后修改:2010年12月15日 Wednesday 0:29