Class EnumStringAttribute
Changes enum serialization to use string names instead of integer values. This makes saved data resilient to enum reordering or changes in values (but not to renaming enums). Deserialization accepts both string names and integer values for backward compatibility.
Inheritance
System.Object
EnumStringAttribute
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
public sealed class EnumStringAttribute : Attribute
Constructors
EnumStringAttribute()
Declaration
public EnumStringAttribute()
Extension Methods
See Also
System.Attribute