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