logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Enum StructuredBackendAuthoringKind

    Editor-only authoring choice shared by every structured-store consumer's creation wizard (GameSave, GameProgress): which shared UnityStructuredBackendDefinition subtype the wizard creates and assigns to the consumer's settings asset. Purely a wizard concern — the runtime always dispatches on the backend asset's concrete type, never on this enum. Every kind creates an explicit backend asset, including PlayerPrefs.

    Namespace: Serenity.StructuredPersistence.Infrastructure.Editor.Authoring
    Assembly: Serenity.UnityStructuredPersistence.Infrastructure.Editor.dll
    Syntax
    public enum StructuredBackendAuthoringKind
    Remarks

    Serenity.Leaderboard.Infrastructure.Editor.Builder.LeaderboardBackendAuthoringKind is the module-local twin this enum was extracted from. It is intentionally left as its own separate enum on the Leaderboard wizard rather than retrofitted onto this shared one, so its already-tested wizard and creator code is never touched by this change.

    Fields

    Name Description
    Http

    A remote HTTP structured-store service. Creates a UnityHttpBackendDefinition asset.

    LocalFile

    Human-readable JSON files under the game's data folder. Creates a UnityLocalFileBackendDefinition asset.

    Mongo

    A MongoDB server. Creates a UnityMongoBackendDefinition asset.

    MySql

    A MySQL server. Creates a UnityMySqlBackendDefinition asset.

    PlayerPrefs

    The device's PlayerPrefs key-value store. Creates a field-less UnityPlayerPrefsBackendDefinition asset.

    Postgres

    A PostgreSQL server. Creates a UnityPostgresBackendDefinition asset.

    Sqlite

    An embedded SQLite database file. Creates a UnitySqliteBackendDefinition asset.

    In this article
    © 2026 Serenity. All Rights Reserved