logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Enum FoundationReferenceSelector

    Which run-time condition on the owning asset decides whether a FoundationReferenceContract row applies to a given element — most rows always apply, but a shared shape like UiOption stores several mutually-exclusive kinds of reference in the same fields, distinguished only by another field's value at read time.

    Namespace: Serenity.Global.Application.References
    Assembly: Serenity.Global.Application.dll
    Syntax
    public enum FoundationReferenceSelector

    Fields

    Name Description
    Always

    The row always applies; no sibling field decides.

    LeaderboardButtonShowView

    Applies to a LeaderboardViewButton whose own Action is SHOW_VIEW.

    SelectableWithObjectValues

    Applies to a UnityGameSettingsDefinition whose ValueType is SELECTABLE, whose selectableObjectValues is populated, AND whose own selectableValueTypeName resolves to a type implementing IFoundationSettings — a plain string selectable (e.g. Audio_OutputType) leaves selectableValueTypeName empty even though the Unity inspector still keeps selectableObjectValues sized to Options.Length with null placeholders, so the array's mere presence is not enough to tell the two apart.

    SignalParameterTree

    Applies to a configured signal parameter whose type (reflected from the chosen constructor) is annotated [FoundationIdReference]; recurses into Children for a nested complex parameter.

    UiOptionAction

    Applies to a UiOption whose ValueType is ACTION.

    UiOptionGameSetting

    Applies to a UiOption whose ValueType is neither ACTION nor TRANSITION (a game-setting binding).

    UiOptionTransition

    Applies to a UiOption whose ValueType is TRANSITION.

    In this article
    © 2026 Serenity. All Rights Reserved