docs.unity3d.com
    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.

    In This Article
    • CompareQuery(in EntityQueryDescBuilder)
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023