Interface ITimeProvider
Abstract time provider that exposes per-frame delta values.
The concrete implementation (Unity layer) is the single reader of engine time;
all other systems consume deltas through this interface.
Namespace: Serenity.Timer.Application.Interfaces
Assembly: Serenity.Timer.Application.dll
Syntax
public interface ITimeProvider
Properties
ScaledDeltaSeconds
The scaled (affected by timeScale) delta time for the current frame, in seconds.
Declaration
float ScaledDeltaSeconds { get; }
Property Value
| Type | Description |
|---|---|
| float |
UnscaledDeltaSeconds
The unscaled (real-time) delta time for the current frame, in seconds.
Declaration
float UnscaledDeltaSeconds { get; }
Property Value
| Type | Description |
|---|---|
| float |