Class GameProgressCreator
Generates (or updates) the project-wide UnityGameProgressSettings asset, plus
optionally its backend, from a single description. Mirrors
Serenity.Leaderboard.Infrastructure.Editor.Builder.LeaderboardCreator: static class,
Input/Result DTOs, Validate/ValidateIdentity, Create with created-paths rollback on failure — but
simpler, since GameProgress has no per-item board list, view, or menu wiring; a single settings
asset is the entire authoring surface. CreateGameProgressSettingsWindow only collects
input and renders results; every asset mutation lives here.
Inheritance
GameProgressCreator
Assembly: Serenity.UnityGameProgress.Infrastructure.Editor.dll
Syntax
public static class GameProgressCreator
Fields
DefaultLocalFileDirectoryName
Declaration
public const string DefaultLocalFileDirectoryName = "game-progress"
Field Value
DefaultSqliteDatabaseFileName
Declaration
public const string DefaultSqliteDatabaseFileName = "game_progress.db"
Field Value
Methods
Validates the request, then resolves/creates the settings asset and, optionally, creates the
backend. On any failure every mutation is rolled back so the project is left untouched.
Declaration
public static GameProgressCreator.Result Create(GameProgressCreator.Input input)
Parameters
Returns
Full validation, re-checked at creation time so Create(Input) is safe to call independently of the window's live validation.
Declaration
public static SerenityCreationValidationResult Validate(GameProgressCreator.Input input)
Parameters
Returns
| Type |
Description |
| SerenityCreationValidationResult |
|
Asset-name-only validation, usable before a folder or backend choice has been made.
Declaration
public static SerenityCreationValidationResult ValidateIdentity(GameProgressCreator.Input input)
Parameters
Returns
| Type |
Description |
| SerenityCreationValidationResult |
|