docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method FindTag

    FindTag(string)

    Looks for a Tag, linked to this CatalogItem instance, by its tagKey.

    Declaration
    public Tag FindTag(string tagKey)
    Parameters
    Type Name Description
    string tagKey

    The key of the Tag to find.

    Returns
    Type Description
    Tag

    If found, returns the Tag instance, otherwise null.

    Exceptions
    Type Condition
    ArgumentNullException

    The tagKey cannot be null as a key cannot be null.

    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)