logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class SettingsRowDependencyGui

    Draws a Settings step row's dependency-order affordances: the muted "Depends on: A, B" line, and a warning glyph (with a tooltip naming which ones) when any of a system's dependencies is not yet InProject. IMGUI presentation only — the decision behind both lines lives in SettingsRowDependencyRules, kept separate so it stays testable on its own.

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

    Methods

    DrawDependencyWarningIfAny(SerenityInstallableSystem, IReadOnlyList<SerenitySystemConfigurationRow>)

    Draws a warning glyph, tooltipped with the not-yet-ready dependency names, when any of system's dependencies is not InProject among rows. Draws nothing when every dependency is ready.

    Declaration
    public static void DrawDependencyWarningIfAny(SerenityInstallableSystem system, IReadOnlyList<SerenitySystemConfigurationRow> rows)
    Parameters
    Type Name Description
    SerenityInstallableSystem system
    IReadOnlyList<SerenitySystemConfigurationRow> rows

    DrawDependsOnLine(SerenityInstallableSystem, IReadOnlyList<SerenitySystemConfigurationRow>)

    Draws the muted "Depends on: ..." line for system, or nothing when it has no dependencies.

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