Class LocalizedEnumAttribute
- Namespace
- JLChnToZ.VRC.Foundation.I18N
Attach this attribute to an enum field to make it a localized enum.
public class LocalizedEnumAttribute : PropertyAttribute
- Inheritance
-
LocalizedEnumAttribute
- Extension Methods
Constructors
LocalizedEnumAttribute()
Create a new instance of LocalizedEnumAttribute.
public LocalizedEnumAttribute()
Properties
Key
The key of the localized enum label.
public string Key { get; set; }
Property Value
Remarks
If not provided, the enum type name will be used as key.