Marks a type as metadata that can be attached to a locale, a table, a shared key, or a per-locale entry.
Implementations are serialized by reference through MetadataCollection, so each metadata item can carry its
own serialized fields, for example a Comment or an ExcludeEntryFromEditorExport flag. Apply
MetadataAttribute to an implementation to control where it can be attached and how it appears in the
editor's "Add Metadata" menu.
Additional resources: MetadataCollection, MetadataAttribute, Comment, ExcludeEntryFromEditorExport
<para>Implement the interface to define a custom metadata item that carries its own fields.</para>
using System; using Unity.Localization;
namespace Unity.Localization.Samples { [Serializable] public class IMetadataExample : IMetadata { public string author; } }