Namespace Serenity.Ui.Installation.Settings.Editor
Classes
UiThemeValidator
Unity Editor window for validating UI theme definitions and their associated prefabs.
Provides a GUI tool for validating that all required prefabs in a theme definition have proper component configurations.
Ensures theme integrity by checking that all template prefabs contain the necessary Unity UI components for proper functionality.
The structural contract and the actual per-slot checks live in the GUI-free UiThemeValidatorEngine;
this window only drives the dialog-per-first-issue UX.
UiThemeValidatorEngine
GUI-free engine behind UiThemeValidator: the structural contract a theme's template
prefabs must satisfy (expressed as data so it is inspectable independently of the GUI window,
mirroring SerenityHealthCheckValidator's shape), plus the checks that walk a theme's prefabs
against it. Stays editor-side (not promoted to Business) because every check inspects a
UnityEngine.GameObject's component tree via GetComponentInChildren -- Unity Editor/Engine APIs a
Business assembly (noEngineReferences: true) cannot reference; another engine's component model is
different, so this rule is necessarily engine-specific, not a portable Business rule.
UnityUiSettingsEditorEditor
Unity Editor inspector for UnityUiSettings ScriptableObject configuration.
Provides comprehensive UI for configuring Unity UI system settings including canvas references, theme selection, scale configuration, and addressable asset prewarming.
Features integrated addressables management with automatic label and address detection for progressive asset preloading configuration.
UnityUiThemeDefinitionEditor
Unity Editor inspector for UnityUiThemeDefinition ScriptableObject configuration.
Provides comprehensive UI for configuring UI component templates, audio clips, and theme settings for the Unity UI system.
Features organized sections for component prefabs and audio feedback configuration with automatic saving functionality.
Structs
UiThemeValidatorEngine.Issue
A single finding from validating a theme's template prefabs.
Enums
UiThemeValidatorEngine.IssueSeverity
Severity/kind of a single theme validation issue. Kept as three distinct values (rather than a generic "invalid") because the window maps each to a different exception type to preserve its pre-extraction behavior exactly.