docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)