docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Equals

    Equals(EntityQuery)

    Compare two queries for equality.

    Declaration
    public bool Equals(EntityQuery other)
    Parameters
    Type Name Description
    EntityQuery other

    The other query

    Returns
    Type Description
    bool

    True if the two queries are equivalent, or false if not.

    Equals(object)

    Compare a query to another object (assumed to be a boxed EntityQuery).

    Declaration
    [ExcludeFromBurstCompatTesting("Takes managed object")]
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj

    The other query.

    Returns
    Type Description
    bool

    True if obj is an equivalent query, or false if not.

    Overrides
    ValueType.Equals(object)
    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)