docs.unity.cn
    Show / Hide Table of Contents

    Property EntityQueries

    EntityQueries

    The query objects cached by this system.

    Declaration
    public EntityQuery[] EntityQueries { get; }
    Property Value
    Type Description
    EntityQuery[]

    A read-only array of the cached EntityQuery objects.

    Remarks

    A system caches any queries it implicitly creates through the IJob interfaces or EntityQueryBuilder, that you create explicitly by calling GetEntityQuery(ComponentType[]), or that you add to the system as a required query with RequireForUpdate(EntityQuery). Implicit queries may be created lazily and not exist before a system has run for the first time.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, July 6, 2022
    Terms of use