docs.unity3d.com
Search Results for

    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
    bool

    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
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)