logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    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
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    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.

    In this article
    © 2026 Serenity. All Rights Reserved