# GetProgress()

> Callback, invoked when UnityWebRequest.downloadProgress is accessed.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Networking](/engine/6000.6/script-reference/unityengine/networking.md)
* **Assembly:** UnityEngine.UnityWebRequestModule

```csharp
protected virtual float GetProgress()
```

### Returns

| Type                                                          | Description                                                                                                                                          |
| ------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
| [float](https://learn.microsoft.com/dotnet/api/system.single) | The return value for [UnityWebRequest.downloadProgress](/engine/6000.6/script-reference/unityengine/networking/unitywebrequest/downloadprogress.md). |

### Remarks

This callback will be invoked when scripts access the [UnityWebRequest.downloadProgress](/engine/6000.6/script-reference/unityengine/networking/unitywebrequest/downloadprogress.md) property on this DownloadHandler's parent [UnityWebRequest](/engine/6000.6/script-reference/unityengine/networking/unitywebrequest.md). The return value of this method will be returned as the value of the [UnityWebRequest.downloadProgress](/engine/6000.6/script-reference/unityengine/networking/unitywebrequest/downloadprogress.md) property.

This callback will be invoked on the main thread.

If not overridden, the default behavior of this callback is to return `0.5`.
