docs.unity.cn
    Show / Hide Table of Contents

    Method QueryBuilder

    QueryBuilder()

    Gives a fluent API for constructing EntityQuerys similar to the EntityQueryBuilder. This API statically constructs the query as part of the system, and creates the query in the system's OnCreate. Calling this method should allow the construction of EntityQueries with almost no run-time performance overhead."

    Declaration
    public static SystemAPIQueryBuilder QueryBuilder()
    Returns
    Type Description
    SystemAPIQueryBuilder

    An instance of SystemAPIQueryBuilder, which can be used to fluently construct queries.

    Remarks

    Gives a fluent API for constructing EntityQueries similar to the EntityQueryBuilder. This API statically constructs the query as part of the system, and creates the query in the system's OnCreate. Calling this method should allow for construction of EntityQueries with almost no run-time performance overhead."

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