logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.EventDispatcher.Infrastructure.Services

    Classes

    UnityEventDispatcherService

    Unity-specific implementation of event dispatcher service using in-memory delegate dictionary.
    Provides type-safe event subscription, unsubscription, and dispatching functionality using EventDispatcherSignal-derived events. Maintains event subscribers in a dictionary keyed by event type and supports both generic and non-generic event dispatching for flexible event-driven architecture integration within Unity applications.

    UnityEventDispatcherServiceFactory

    Unity-specific factory for creating event dispatcher service instances.
    Implements IEventDispatcherServiceFactory to provide Unity-based event dispatcher service creation for dependency injection systems. Creates UnityEventDispatcherService instances with in-memory delegate-based event handling for Unity application event-driven architecture.

    UnityFileLogService

    Unity-specific file logging service that extends UnityLogService with file persistence.
    Writes log entries to persistent file storage using PersistenceUseCases for async file operations and IPathService for file path resolution. Handles exception logging with full stack traces and uses UTF-8 encoding for file output. Provides fallback error logging to Unity Debug.LogError when file operations fail.

    In this article
    © 2026 Serenity. All Rights Reserved