# GetStreamProgressForLevel

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

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

## GetStreamProgressForLevel(int)

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

> **Warning:**
>
> **Deprecated.** Streaming was a Unity Web Player feature, and is removed. This function is deprecated and always returns 1.0 for valid level indices.

```csharp
public static float GetStreamProgressForLevel(int levelIndex)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)):&#x20;

### Returns

| Type                                                          | Description |
| ------------------------------------------------------------- | ----------- |
| [float](https://learn.microsoft.com/dotnet/api/system.single) |             |

### Remarks

In the webplayer this returns the progress of this level.

Additional Resources: [Application.CanStreamedLevelBeLoaded](/engine/6000.0/script-reference/unityengine/application/canstreamedlevelbeloaded.md) function.

Webplayer support is not part of 5.4.0 and later.

## GetStreamProgressForLevel(string)

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

> **Warning:**
>
> **Deprecated.** Streaming was a Unity Web Player feature, and is removed. This function is deprecated and always returns 1.0.

```csharp
public static float GetStreamProgressForLevel(string levelName)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)):&#x20;

### Returns

| Type                                                          | Description |
| ------------------------------------------------------------- | ----------- |
| [float](https://learn.microsoft.com/dotnet/api/system.single) |             |

### Remarks

In the webplayer this returns the progress of this level.

Additional Resources: [Application.CanStreamedLevelBeLoaded](/engine/6000.0/script-reference/unityengine/application/canstreamedlevelbeloaded.md) function.

Webplayer support is not part of 5.4.0 and later.
