Gears
API ReferenceAttributes

SettingsSerializationProvider

Marks a class as holding [SettingParserAttribute](/docs/reference/attributes/setting-parser-attribute) and [SettingFormatterAttribute](/docs/reference/attributes/setting-formatter-attribute) methods.

Sealed classNamespace GearsAPI.AttributesAssembly GearsAPI.dllSource
[AttributeUsage(AttributeTargets.Class, Inherited = false)]
public sealed class SettingsSerializationProvider : Attribute

Marks a class as holding SettingParserAttribute and SettingFormatterAttribute methods. Gears scans every loaded assembly for classes with this attribute at GameAwake. The class name has no Attribute suffix; write [SettingsSerializationProvider]. See the Use Custom Value Types guide.

Inheritance: Object → Attribute → SettingsSerializationProvider
Attributes: AttributeUsageAttribute