Class MetadataCollection
Holds a collection of IMetadata that can be serialized.
Implements
Namespace: UnityEngine .Localization.Metadata
Assembly: Unity.Localization.dll
Syntax
[Serializable]
public class MetadataCollection : IMetadataCollection
Properties
Name | Description |
---|---|
Has |
Does the collection contain any Metadata? |
Metadata |
All Metadata entries contained in this collection. |
Methods
Name | Description |
---|---|
Add |
Add the Metadata to the collection. |
Contains(IMetadata) | Returns true if the collection contains the Metadata. |
Get |
Returns the first Metadata of type TObject or null if one does not exist. |
Get |
Returns a list of all Metadata`s that are of type TObject. |
Get |
Populates list with all Metadata`s that are of type TObject. |
Has |
Returns true if any metadata of type TObject contains this entry. |
Remove |
Removes the Metadata if it is in the collection. |