logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    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
    In this article
    © 2026 Serenity. All Rights Reserved