docs.unity.cn
    Show / Hide Table of Contents

    Method CompareQuery

    CompareQuery(EntityQueryDesc[])

    Compares a query description to the description defining this EntityQuery.

    Declaration
    public bool CompareQuery(EntityQueryDesc[] queryDesc)
    Parameters
    Type Name Description
    EntityQueryDesc[] 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 © 2020 Unity Technologies
    Generated by DocFX
    on Friday, May 28, 2021