logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class SettingsRowBadgeRules

    The Settings step's per-row status badge text and color. A row whose system installs at bootstrap (Persistence today) reads differently while Missing: nothing configured yet is expected and unremarkable (a factory default backend applies), not a warning — so it shows "Default (local file)" in the informational accent color instead of "Missing" in the warning color every other row's Missing state uses.

    Inheritance
    object
    SettingsRowBadgeRules
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.CreateGame.Infrastructure.Editor
    Assembly: Serenity.UnityCreateGame.Infrastructure.Editor.dll
    Syntax
    public static class SettingsRowBadgeRules

    Methods

    BadgeColor(SerenitySystemConfigurationRow)

    The badge color row should display.

    Declaration
    public static Color BadgeColor(SerenitySystemConfigurationRow row)
    Parameters
    Type Name Description
    SerenitySystemConfigurationRow row
    Returns
    Type Description
    Color

    BadgeColor(SerenitySystemConfigurationState)

    The badge color a bare state should display — see BadgeText(SerenitySystemConfigurationState).

    Declaration
    public static Color BadgeColor(SerenitySystemConfigurationState state)
    Parameters
    Type Name Description
    SerenitySystemConfigurationState state
    Returns
    Type Description
    Color

    BadgeText(SerenitySystemConfigurationRow)

    The badge text row should display.

    Declaration
    public static string BadgeText(SerenitySystemConfigurationRow row)
    Parameters
    Type Name Description
    SerenitySystemConfigurationRow row
    Returns
    Type Description
    string

    BadgeText(SerenitySystemConfigurationState)

    The badge text a bare state should display, with no row to check for the bootstrap-system special case — reused by rows that have a state but no settings-asset identity of their own, such as PipelineProfileRowRules' initialization pipeline profile row.

    Declaration
    public static string BadgeText(SerenitySystemConfigurationState state)
    Parameters
    Type Name Description
    SerenitySystemConfigurationState state
    Returns
    Type Description
    string
    In this article
    © 2026 Serenity. All Rights Reserved