logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.SystemConfiguration.Infrastructure.Editor.Builder

    Classes

    CreateSystemConfigurationSettingsWindow

    Step-by-step window for creating or updating the project-wide UnitySystemConfigurationSettings asset. The stepped-wizard scaffolding — the header and breadcrumb, the body scroll, the footer and its error gate, and the select-and-ping a finished run ends with — comes from Serenity.Global.Infrastructure.Editor.SerenityStepWizardWindow`1; this window declares only its own step table and what the primary action does. The window only collects input and renders results, SystemConfigurationSettingsCreator does the actual validation and generation work.

    Every field is edited through a Serenity.Global.Infrastructure.Editor.SerenityWizardScratchDraft<> scratch instance rather than a mirrored set of local fields, so an update-in-place run can never silently revert a field the wizard forgot to seed back to its static template default — a management tool surfaces everything its target already owns, mirroring MenuDraft.FromExisting.

    SystemConfigurationSettingsCreator

    Generates (or updates) the project-wide UnitySystemConfigurationSettings asset from a single description. Mirrors Serenity.GameCamera.Infrastructure.Editor.Builder.GameCameraSettingsCreator: static class, Input/Result DTOs, Validate, Create with created-paths rollback on failure — resolved and folder-provisioned through the shared SettingsAssetAuthoring engine rather than a private copy of its logic.

    A second UnitySystemConfigurationSettings asset does not break anything at runtime — the installer's UnityAssetUtils.LoadAllFromAnyBlocking call loads every asset tagged module:system-configuration and uses the first one found — so ambiguity here is surfaced as a warning, never a hard error, exactly like GameCamera's settings creator.

    CreateSystemConfigurationSettingsWindow only collects input and renders results; every asset mutation lives here.

    SystemConfigurationSettingsCreator.Input

    Everything needed to create or update the settings asset.

    SystemConfigurationSettingsCreator.Result

    Outcome of a Create(Input) call.

    SystemConfigurationSettingsCreator.SyncMapRow

    One authored Sync Map row — mirrors UnitySnapshotKeyMap field-for-field.

    Enums

    CreateSystemConfigurationSettingsWindow.WizardStep

    Public rather than private because C# requires a class's base type to be at least as accessible as the class itself, and this enum is that base type's argument.

    In this article
    © 2026 Serenity. All Rights Reserved