docs.unity.cn
    Show / Hide Table of Contents

    Method CompareQuery

    CompareQuery(in EntityQueryBuilder)

    Compares a query description to the description defining this EntityQuery.

    Declaration
    public bool CompareQuery(in EntityQueryBuilder queryDesc)
    Parameters
    Type Name Description
    EntityQueryBuilder queryDesc

    The query description to compare.

    Returns
    Type Description
    Boolean

    True, if the query description contains the same components with the same read/write access modifiers as this EntityQuery.

    Remarks

    The All, Any, and None components in the query description are compared to the corresponding list in this EntityQuery.

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