docs.unity.cn
    Show / Hide Table of Contents

    Operator Equality

    Equality(EntityQuery, EntityQuery)

    Test two queries for equality

    Declaration
    public static bool operator ==(EntityQuery lhs, EntityQuery rhs)
    Parameters
    Type Name Description
    EntityQuery lhs

    The left query

    EntityQuery rhs

    The right query

    Returns
    Type Description
    Boolean

    True if the left and right queries are equal, or false if not.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023