docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method FindCategory

    FindCategory(string)

    Looks for a Category, linked to this CatalogItem instance, by its id.

    Declaration
    public Category FindCategory(string id)
    Parameters
    Type Name Description
    string id

    The id of the Category to find.

    Returns
    Type Description
    Category

    If found, returns the Category instance, othewise null.

    Exceptions
    Type Condition
    ArgumentNullException

    The id cannot be null as a id 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)