logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class GameSettingWiringMap

    For each WiringSystem, the service-settings type and field that should receive a new setting's Id. Engine-agnostic data: consumers (the Unity editor tooling, and any future non-Unity equivalent) resolve targets by type name and write by field name, so this map is the single source of truth for the wiring convention — losing it in a port would silently strand every existing setting. The WiringDescriptor_EveryField_ExistsOnTargetType test checks every name here against the real Unity types so they can't drift unnoticed.

    Inheritance
    object
    GameSettingWiringMap
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.GameSettings.Application.Validation
    Assembly: Serenity.Global.Application.dll
    Syntax
    public static class GameSettingWiringMap

    Fields

    AudioTypeName

    Declaration
    public const string AudioTypeName = "UnitySoundMixerSettings"
    Field Value
    Type Description
    string

    ExposedParametersField

    Declaration
    public const string ExposedParametersField = "ExposedParameters"
    Field Value
    Type Description
    string

    FontSizeField

    Declaration
    public const string FontSizeField = "FontSizeKey"
    Field Value
    Type Description
    string

    GameLanguageField

    Declaration
    public const string GameLanguageField = "GameLanguageKey"
    Field Value
    Type Description
    string

    GraphicsTypeName

    Declaration
    public const string GraphicsTypeName = "UnityGameGraphicsSettings"
    Field Value
    Type Description
    string

    IsFullScreenField

    Declaration
    public const string IsFullScreenField = "IsFullScreenKey"
    Field Value
    Type Description
    string

    LocalizationTypeName

    Declaration
    public const string LocalizationTypeName = "UnityLocalizationSettings"
    Field Value
    Type Description
    string

    QualityLevelField

    Declaration
    public const string QualityLevelField = "QualityLevelKey"
    Field Value
    Type Description
    string

    ScaleField

    Declaration
    public const string ScaleField = "ScaleKey"
    Field Value
    Type Description
    string

    ScreenResolutionField

    Declaration
    public const string ScreenResolutionField = "ScreenResolutionKey"
    Field Value
    Type Description
    string

    UiTypeName

    Declaration
    public const string UiTypeName = "UnityUiSettings"
    Field Value
    Type Description
    string

    VoiceLanguageField

    Declaration
    public const string VoiceLanguageField = "VoiceLanguageKey"
    Field Value
    Type Description
    string

    Methods

    Get(WiringSystem)

    Returns the target description for system.

    Declaration
    public static GameSettingWiringMap.Descriptor Get(WiringSystem system)
    Parameters
    Type Name Description
    WiringSystem system
    Returns
    Type Description
    GameSettingWiringMap.Descriptor
    In this article
    © 2026 Serenity. All Rights Reserved