docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ContainsCategory

    ContainsCategory(string)

    Tells whether or not this catalog contains a Category instance with the specified id as id.

    Declaration
    public bool ContainsCategory(string id)
    Parameters
    Type Name Description
    string id

    The id to find.

    Returns
    Type Description
    bool

    true if a Category instance exists in this cataglog with the specified id, false otherwise

    Exceptions
    Type Condition
    ArgumentNullException

    If the id parameter is null.

    ContainsCategory(Category)

    Tells whether or not this catalog contains the specified Category instance.

    Declaration
    public bool ContainsCategory(Category category)
    Parameters
    Type Name Description
    Category category

    The Category to find.

    Returns
    Type Description
    bool

    true if a Category instance exists in this cataglog with the specified id, false otherwise

    Exceptions
    Type Condition
    ArgumentNullException

    If the category parameter is 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)