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
GameSettingWiringMap
Assembly: Serenity.Global.Application.dll
Syntax
public static class GameSettingWiringMap
Fields
AudioDisplayName
Declaration
public const string AudioDisplayName = "Sound Mixer settings"
Field Value
AudioTypeName
Declaration
public const string AudioTypeName = "UnitySoundMixerSettings"
Field Value
ExposedParametersField
Declaration
public const string ExposedParametersField = "ExposedParameters"
Field Value
FontSizeField
Declaration
public const string FontSizeField = "FontSizeKey"
Field Value
GameLanguageField
Declaration
public const string GameLanguageField = "GameLanguageKey"
Field Value
GraphicsDisplayName
What each target is called where an author reads about it — the same names the settings
assets' own singleton declarations give them.
Declaration
public const string GraphicsDisplayName = "Graphics settings"
Field Value
GraphicsTypeName
Declaration
public const string GraphicsTypeName = "UnityGameGraphicsSettings"
Field Value
IsFullScreenField
Declaration
public const string IsFullScreenField = "IsFullScreenKey"
Field Value
LocalizationDisplayName
Declaration
public const string LocalizationDisplayName = "Localization settings"
Field Value
LocalizationTypeName
Declaration
public const string LocalizationTypeName = "UnityLocalizationSettings"
Field Value
QualityLevelField
Declaration
public const string QualityLevelField = "QualityLevelKey"
Field Value
ScaleField
Declaration
public const string ScaleField = "ScaleKey"
Field Value
ScreenResolutionField
Declaration
public const string ScreenResolutionField = "ScreenResolutionKey"
Field Value
UiDisplayName
Declaration
public const string UiDisplayName = "UI settings"
Field Value
UiTypeName
Declaration
public const string UiTypeName = "UnityUiSettings"
Field Value
UnknownTargetDisplayName
Declaration
public const string UnknownTargetDisplayName = "service settings"
Field Value
VoiceLanguageField
Declaration
public const string VoiceLanguageField = "VoiceLanguageKey"
Field Value
Methods
Get(WiringSystem)
Returns the target description for system.
Declaration
public static GameSettingWiringMap.Descriptor Get(WiringSystem system)
Parameters
Returns
TargetDisplayNameOf(string)
The name an author knows the target of targetTypeName by, for any copy
that has to name it — never the type name itself.
Declaration
public static string TargetDisplayNameOf(string targetTypeName)
Parameters
| Type |
Name |
Description |
| string |
targetTypeName |
|
Returns