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)
|
| 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).
|
| 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.
|