logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class SignalDispatchSite

    One authored, pingable asset that dispatches a signal outside the UnityEventDispatcherSignalDefinition convention the scanner's signalTypeName field already covers — an action definition, or a menu/modal option/slot. Value equality over all three properties lets SignalFlowScanner's existing Add helper dedup entries via Contains(T), the same way it already dedups plain asset-path strings.

    Inheritance
    object
    SignalDispatchSite
    Implements
    IEquatable<SignalDispatchSite>
    Inherited Members
    object.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Serenity.EventDispatcher.Infrastructure.Editor
    Assembly: Serenity.UnityEventDispatcher.Infrastructure.Editor.dll
    Syntax
    public sealed class SignalDispatchSite : IEquatable<SignalDispatchSite>

    Constructors

    SignalDispatchSite(string, string, SignalDispatchSiteKind)

    Declaration
    public SignalDispatchSite(string assetPath, string label, SignalDispatchSiteKind kind)
    Parameters
    Type Name Description
    string assetPath
    string label
    SignalDispatchSiteKind kind

    Properties

    AssetPath

    Declaration
    public string AssetPath { get; }
    Property Value
    Type Description
    string

    Project-relative path of the asset this dispatch site was discovered on.

    Kind

    Declaration
    public SignalDispatchSiteKind Kind { get; }
    Property Value
    Type Description
    SignalDispatchSiteKind

    Which authored construct produced this site.

    Label

    Declaration
    public string Label { get; }
    Property Value
    Type Description
    string

    Human-readable label for the site — an authored id when one exists, else a fallback derived from the asset.

    Methods

    Equals(SignalDispatchSite)

    Declaration
    public bool Equals(SignalDispatchSite other)
    Parameters
    Type Name Description
    SignalDispatchSite other
    Returns
    Type Description
    bool

    Equals(object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    object.Equals(object)

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    object.GetHashCode()

    Implements

    IEquatable<T>
    In this article
    © 2026 Serenity. All Rights Reserved