Legacy Documentation: Version 5.2
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Application.GetStreamProgressForLevel

Switch to Manual
public static float GetStreamProgressForLevel(int levelIndex);

Parameters

Description

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

In the webplayer this returns the progress of this level.

See Also: CanStreamedLevelBeLoaded function.

no example available in C#

public static float GetStreamProgressForLevel(string levelName);

Parameters

Description

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

In the webplayer this returns the progress of this level.

See Also: CanStreamedLevelBeLoaded function.