docs.unity.cn
    Show / Hide Table of Contents

    Method CompareQuery

    CompareQuery(in EntityQueryDescBuilder)

    Compares a query description to the description defining this EntityQuery.

    Declaration
    public bool CompareQuery(in EntityQueryDescBuilder queryDesc)
    Parameters
    Type Name Description
    EntityQueryDescBuilder 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 © 2022 Unity Technologies
    Generated by DocFX
    on 04 August 2022
    Terms of use