logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.Timer.Infrastructure.Components

    Classes

    UnityTimeProvider

    Unity implementation of ITimeProvider.
    This is the ONLY component that reads UnityEngine.Time. Each frame it caches the scaled and unscaled deltas, then calls UpdateTimers() so the timer service can consume the cached values without touching the engine API.

    UnityTimer

    Unity-specific timer component that provides countdown and countup functionality with hours, minutes, and seconds precision.
    Supports both incremental and decremental timing modes with automatic overflow handling.

    UnityTimerService

    Unity-specific timer service that manages multiple timer instances as MonoBehaviour components.
    Provides centralized timer management with creation, retrieval, and removal capabilities.

    In this article
    © 2026 Serenity. All Rights Reserved