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.unityVersion 版本
static var unityVersion : string
Description描述
The version of the Unity runtime used to play the content.
用于播放内容的Unity运行时版本。
using UnityEngine;
using System.Collections;
public class example : MonoBehaviour {
public void Awake() {
print("Version of the runtime: " + Application.unityVersion);
}
}
print ("Version of the runtime: " + Application.unityVersion);
最后修改:2010年12月15日 Wednesday 0:22