docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Operator operator ==

    operator ==(CategoryAsset, CategoryAsset)

    == Overload. If id and displayName match then the CategoryAsset are deemed equal. Note: Two null objects are considered equal.

    Declaration
    public static bool operator ==(CategoryAsset x, CategoryAsset y)
    Parameters
    Type Name Description
    CategoryAsset x

    A CategoryAsset to compare.

    CategoryAsset y

    A CategoryAsset to compare to.

    Returns
    Type Description
    bool

    true if both CategoryAsset are the same, otherwise false.

    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)