Struct UnitySnapshotKeyMap
Unity-serializable struct for mapping system configuration snapshot fields to game settings keys.
Provides Inspector-friendly configuration for automatic synchronization between system detection and game settings.
Supports field identification, target key specification, and string transformation options for flexible data mapping.
Designed for use in Unity ScriptableObject settings and Inspector-based configuration workflows.
Inherited Members
Namespace: Serenity.SystemConfiguration.Infrastructure.Structs
Assembly: Serenity.UnitySystemConfiguration.Infrastructure.dll
Syntax
public struct UnitySnapshotKeyMap
Fields
Field
Declaration
public SnapshotFieldId Field
Field Value
| Type | Description |
|---|---|
| SnapshotFieldId | System configuration field identifier specifying which snapshot property to read. |
TargetKey
Declaration
public string TargetKey
Field Value
| Type | Description |
|---|---|
| string | Target game settings key for synchronization (e.g., "Graphics/RefreshRate", "Audio/Language"). |
Transform
Declaration
public StringTransform Transform
Field Value
| Type | Description |
|---|---|
| StringTransform | String transformation to apply to the snapshot value before mapping to game settings. |