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.
Inherited Members
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 |