docs.unity.cn
    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
    Boolean

    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
    Boolean

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

    Overrides
    ValueType.Equals(Object)
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023