Access to application run-time data.
This class contains static methods for looking up information about and controlling the run-time data.
| loadedLevel |
The level index that was last loaded (Read Only).
|
| loadedLevelName |
The name of the level that was last loaded (Read Only).
|
| isLoadingLevel |
Is some level being loaded? (Read Only)
|
| levelCount |
The total number of levels available (Read Only).
|
| streamedBytes |
How many bytes have we downloaded from the main unity web stream (Read Only).
|
| isPlaying |
Returns true when in any kind of player (Read Only).
|
| isEditor |
Are we running inside the Unity editor? (Read Only)
|
| isWebPlayer |
Are we running inside a web player? (Read Only)
|
| platform |
Returns the platform the game is running (Read Only).
|
| runInBackground |
Should the player be running when the application is in the background?
|
| dataPath |
Contains the path to the game data folder (Read Only).
|
| streamingAssetsPath |
Contains the path to the StreamingAssets folder (Read Only).
|
| persistentDataPath |
Contains the path to a persistent data directory (Read Only).
|
| temporaryCachePath |
Contains the path to a temporary data / cache directory (Read Only).
|
| srcValue |
The path to the web player data file relative to the html file (Read Only).
|
| absoluteURL |
The absolute path to the web player data file (Read Only).
|
| unityVersion |
The version of the Unity runtime used to play the content.
|
| webSecurityEnabled |
Indicates whether Unity's webplayer security model is enabled.
|
| targetFrameRate |
Instructs game to try to render at a specified frame rate.
|
| systemLanguage |
The language the user's operating system is running in.
|
| backgroundLoadingPriority |
Priority of background loading thread.
|
| internetReachability |
Returns the type of Internet reachability currently possible on the device.
|
| genuine |
Returns false if application is altered in any way after it was built.
|
| genuineCheckAvailable |
Returns true if application integrity can be confirmed.
|