logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class SettingsRowDependencyRules

    The pure decision behind SettingsRowDependencyGui's row: the "Depends on: A, B" line text, and the not-yet-ready dependency names behind its warning glyph's tooltip — extracted out of the drawing itself so the mapping is testable without a UnityEngine.GUIContent icon to draw.

    Inheritance
    object
    SettingsRowDependencyRules
    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 SettingsRowDependencyRules

    Fields

    DependencyWarningIconName

    The built-in Editor icon SettingsRowDependencyGui's IMGUI warning glyph draws for a not-yet-ready dependency — declared once here so it never hand-rolls its own copy of the engine-owned icon name.

    Declaration
    public const string DependencyWarningIconName = "console.warnicon.sml"
    Field Value
    Type Description
    string

    Methods

    DependencyWarningTooltip(SerenityInstallableSystem, IReadOnlyList<SerenitySystemConfigurationRow>)

    The warning tooltip naming every dependency of system that is not yet InProject among rows, or null when every dependency is ready (or the system has none).

    Declaration
    public static string DependencyWarningTooltip(SerenityInstallableSystem system, IReadOnlyList<SerenitySystemConfigurationRow> rows)
    Parameters
    Type Name Description
    SerenityInstallableSystem system
    IReadOnlyList<SerenitySystemConfigurationRow> rows
    Returns
    Type Description
    string

    DependsOnLine(SerenityInstallableSystem, IReadOnlyList<SerenitySystemConfigurationRow>)

    The "Depends on: ..." line for system, or null when it has no dependencies.

    Declaration
    public static string DependsOnLine(SerenityInstallableSystem system, IReadOnlyList<SerenitySystemConfigurationRow> rows)
    Parameters
    Type Name Description
    SerenityInstallableSystem system
    IReadOnlyList<SerenitySystemConfigurationRow> rows
    Returns
    Type Description
    string
    In this article
    © 2026 Serenity. All Rights Reserved