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
SettingsRowDependencyRules
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
Methods
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
Returns
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
Returns