RemoveMetadata(IMetadata)
Removes a specific metadata item from the collection.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: Unity.Localization
- Assembly: UnityEngine.LocalizationRuntimeModule
public bool RemoveMetadata(IMetadata metadata)
Parameters
The item to remove.
Returns
Type | Description |
|---|---|
| bool | |
Remarks
The item is removed by reference, so pass the same instance that was added.
Remove a previously added metadata item.
Examples
using Unity.Localization;namespace Unity.Localization.Samples{ public class MetadataCollectionRemoveMetadataExample { public bool Run(MetadataCollection metadata, IMetadata item) => metadata.RemoveMetadata(item); }}