docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ContainsCategory

    ContainsCategory(string)

    Tells whether or not a CategoryAsset with the given id exists in this catalog.

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

    The identifier of the CategoryAsset to find.

    Returns
    Type Description
    bool

    true if found, false otherwise.

    Exceptions
    Type Condition
    ArgumentException

    If the id parameter is null, empty or whitespace

    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)