# DeltaTime()

> Returns _deltaTime only and is primarily encapsulated for tests.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.AdaptivePerformance](/engine/6000.6/script-reference/unityengine/adaptiveperformance.md)
* **Assembly:** UnityEngine.AdaptivePerformanceModule

```csharp
protected virtual float DeltaTime()
```

### Returns

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