logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.Global.Infrastructure.Services

    Classes

    AddressablesAssetLocator

    Unity Addressables-based implementation of IAssetLocator for asset loading operations.
    Provides synchronous asset loading using Unity's Addressables system with type validation and exception handling for robust asset retrieval.

    UnityAppReadinessGate

    Unity implementation of IAppReadinessGate that manages application startup synchronization.
    Initializes Addressables, preloads specified assets, prewarms Unity Timeline assets, and ensures stable frame rates before signaling the application is ready for user interaction.
    Uses a timeout mechanism to prevent infinite waiting during startup.

    UnityGlobalService

    Unity MonoBehaviour implementation of IGlobalService providing application-level services.
    Manages event dispatching, application lifecycle (exit/restart), and global service coordination with scene management integration and event subscription handling.

    In this article
    © 2026 Serenity. All Rights Reserved