logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.EventDispatcher.Infrastructure.Settings

    Classes

    SignalParameterReflection

    Reflection helpers shared by the runtime builder and the custom editor for classifying signal constructor parameters, deciding whether a complex type can be authored from the Inspector, and selecting/locating the constructor used to build it.
    Lives in the runtime assembly (no editor dependencies) so both layers behave identically.

    UnityConfiguredSignalParameter

    Serializable holder for a single value passed to an Inspector-configured signal — either a constructor argument of the signal itself, or, recursively, a constructor argument of a nested complex parameter.
    The value is stored in the field matching Kind, which lets Unity serialize struct/Object parameter types natively. Complex (class/struct) parameters store their own constructor signature and the nested argument values in Children, forming a tree.

    UnityEventDispatcherSignalBuildException

    Thrown when an Inspector-configured signal cannot be built: missing/invalid type, missing constructor, unsupported or unconvertible parameter, or a constructor that throws.
    Messages include the signal type and constructor signature where available.

    UnityEventDispatcherSignalBuilder

    Stateless helper that turns the serialized configuration of a UnityEventDispatcherSignalDefinition into a concrete EventDispatcherSignal instance.
    Signals (and any nested complex parameters) are built by invoking the selected constructor and recursively building each argument, so signals that take DTOs/value objects are fully supported.
    Kept free of Unity asset/editor dependencies so it can be unit tested directly.

    UnityEventDispatcherSignalDefinition

    Unity ScriptableObject that defines which EventDispatcherSignal to dispatch and the values of its constructor parameters, all configured from the Inspector.
    The asset is passed to IEventDispatcherService.Dispatch(IEventDispatcherSignalDefinition), which calls BuildSignal() and delivers the resulting signal to subscribers.

    This authors a signal dispatch; it is not a replacement for EventDispatcherAction<TSignal>, which is the code-defined reaction to a signal.

    UnityFileLogSettings

    Unity-specific ScriptableObject configuration for file logging service settings.
    Extends UnityLogSettings to provide file-based logging configuration with Unity editor integration through CreateAssetMenu attribute.
    Inherits log level filtering, category management, and formatting options while adding file persistence configuration for Unity file logging operations.

    Enums

    SignalParameterKind

    Categorizes a constructor parameter of an EventDispatcherSignal so the Inspector knows which editor control to draw and the runtime builder knows which serialized value field to read.
    Used by UnityConfiguredSignalParameter and UnityEventDispatcherSignalDefinition.

    In this article
    © 2026 Serenity. All Rights Reserved