Method group is Obsolete

Application.GetStreamProgressForLevel

Obsolete Streaming was a Unity Web Player feature, and is removed. This function is deprecated and always returns 1.0 for valid level indices.

Declaration

public static float GetStreamProgressForLevel(int levelIndex);

Description

How far has the download progressed? [0...1].

In the webplayer this returns the progress of this level.

Additional resources: CanStreamedLevelBeLoaded function.

Webplayer support is not part of 5.4.0 and later.


Obsolete Streaming was a Unity Web Player feature, and is removed. This function is deprecated and always returns 1.0.

Declaration

public static float GetStreamProgressForLevel(string levelName);

Description

How far has the download progressed? [0...1].

In the webplayer this returns the progress of this level.

Additional resources: CanStreamedLevelBeLoaded function.

Webplayer support is not part of 5.4.0 and later.


Did you find this page useful? Please give it a rating: