Interface IMetadataCollection
Interface to indicate that the class contains Metadata.
Namespace: UnityEngine.Localization.Metadata
Assembly: Unity.Localization.dll
Syntax
public interface IMetadataCollection
Properties
Name | Description |
---|---|
MetadataEntries | All Metadata entries contained in this collection. |
Methods
Name | Description |
---|---|
AddMetadata(IMetadata) | Add the Metadata to the collection. |
Contains(IMetadata) | Returns true if the collection contains the Metadata. |
GetMetadata<TObject>() | Returns the first Metadata of type TObject or null if one does not exist. |
GetMetadatas<TObject>() | Returns a list of all Metadata`s that are of type TObject. |
GetMetadatas<TObject>(IList<TObject>) | Populates list with all Metadata`s that are of type TObject. |
RemoveMetadata(IMetadata) | Removes the Metadata if it is in the collection. |