Class UnityGameSaveSettings
ScriptableObject configuration for the Unity GameSave service: how many slots it exposes, which backend it persists through, and which table/collection it uses.
Namespace: Serenity.GameSave.Infrastructure.Settings
Assembly: Serenity.UnityGameSave.Infrastructure.dll
Syntax
public class UnityGameSaveSettings : ScriptableObject, IGameSaveSettings, IFoundationSettings
Constructors
UnityGameSaveSettings()
Declaration
public UnityGameSaveSettings()
Fields
Backend
Declaration
public UnityStructuredBackendDefinition Backend
Field Value
| Type | Description |
|---|---|
| UnityStructuredBackendDefinition | Backend selection: a shared, consumer-agnostic UnityStructuredBackendDefinition
asset whose concrete type picks the store (create one under
|
Guid
Declaration
public string Guid
Field Value
| Type | Description |
|---|---|
| string | GUID for this settings asset. |
Id
Declaration
public string Id
Field Value
| Type | Description |
|---|---|
| string | Unique identifier for this settings asset. |
RouteCheckpointsIntoActiveSlot
Declaration
public bool RouteCheckpointsIntoActiveSlot
Field Value
| Type | Description |
|---|---|
| bool | When |
SlotCount
Declaration
public int SlotCount
Field Value
| Type | Description |
|---|---|
| int | The fixed number of save slots the game exposes. |
TableOrCollectionName
Declaration
public string TableOrCollectionName
Field Value
| Type | Description |
|---|---|
| string | Table or collection name storing every save-slot row. Blank falls back to DefaultTableName. |