logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class GameSaveCreator.Input

    Everything needed to create or update the settings asset, and optionally its backend.

    Inheritance
    object
    GameSaveCreator.Input
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: Serenity.GameSave.Infrastructure.Editor.Builder
    Assembly: Serenity.UnityGameSave.Infrastructure.Editor.dll
    Syntax
    public sealed class GameSaveCreator.Input

    Constructors

    Input()

    Declaration
    public Input()

    Fields

    AssetName

    File name (without extension) for a brand-new settings asset.

    Declaration
    public string AssetName
    Field Value
    Type Description
    string

    BackendAssetName

    Declaration
    public string BackendAssetName
    Field Value
    Type Description
    string

    BackendFields

    Declaration
    public StructuredBackendAuthoringFields BackendFields
    Field Value
    Type Description
    StructuredBackendAuthoringFields

    BackendFolderPath

    Declaration
    public string BackendFolderPath
    Field Value
    Type Description
    string

    BackendKind

    Declaration
    public StructuredBackendAuthoringKind BackendKind
    Field Value
    Type Description
    StructuredBackendAuthoringKind

    CreateBackend

    Declaration
    public bool CreateBackend
    Field Value
    Type Description
    bool

    NewSettingsFolderPath

    Folder a brand-new settings asset is created under when none exists and SettingsAssetPath is empty.

    Declaration
    public string NewSettingsFolderPath
    Field Value
    Type Description
    string

    RegisterAsAddressables

    Declaration
    public bool RegisterAsAddressables
    Field Value
    Type Description
    bool

    ReplaceExistingBackend

    Declaration
    public bool ReplaceExistingBackend
    Field Value
    Type Description
    bool

    RouteCheckpointsIntoActiveSlot

    Whether UnityGameSaveInstaller routes Checkpoint snapshots into the active save slot. Applied on both fresh creation AND an existing asset, for the same reason as SlotCount.

    Declaration
    public bool RouteCheckpointsIntoActiveSlot
    Field Value
    Type Description
    bool

    SettingsAssetPath

    Explicit settings asset path (a test seam and an already-known-asset fast path). When set, an asset already present at this path is edited; when no asset exists there yet, a fresh one is created at exactly this path instead of the project-wide search below. Leave empty for the production behavior: find the single project-wide UnityGameSaveSettings asset, or create one under NewSettingsFolderPath when none exists.

    Declaration
    public string SettingsAssetPath
    Field Value
    Type Description
    string

    SlotCount

    Fixed number of save slots. Applied on both fresh creation AND an existing asset — unlike TableOrCollectionName, changing the slot count is not schema-destructive.

    Declaration
    public int SlotCount
    Field Value
    Type Description
    int

    TableOrCollectionName

    Table/collection name. Applied only when a fresh settings asset is created — never rewritten on an existing one.

    Declaration
    public string TableOrCollectionName
    Field Value
    Type Description
    string
    In this article
    © 2026 Serenity. All Rights Reserved