GetStreamProgressForLevel
How far has the download progressed? [0...1].
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
GetStreamProgressForLevel(int)
How far has the download progressed? [0...1].
public static float GetStreamProgressForLevel(int levelIndex)
Parameters
Returns
Type | Description |
|---|---|
| float |
Remarks
In the webplayer this returns the progress of this level.
Additional Resources: Application.CanStreamedLevelBeLoaded function.
Webplayer support is not part of 5.4.0 and later.
GetStreamProgressForLevel(string)
How far has the download progressed? [0...1].
public static float GetStreamProgressForLevel(string levelName)
Parameters
Returns
Type | Description |
|---|---|
| float |
Remarks
In the webplayer this returns the progress of this level.
Additional Resources: Application.CanStreamedLevelBeLoaded function.
Webplayer support is not part of 5.4.0 and later.