docs.unity.cn
    Show / Hide Table of Contents

    Method WithEntityAccess

    WithEntityAccess()

    Invoke this method if you wish to retrieve a tuple with an Entity parameter, thus giving you direct access to an entity.

    Declaration
    public QueryEnumerableWithEntity<T1, T2, T3, T4, T5> WithEntityAccess()
    Returns
    Type Description
    QueryEnumerableWithEntity<T1, T2, T3, T4, T5>

    QueryEnumerableWithEntity, which allows enumerating over all Aspects, RefRO, RefRW, EnabledRefRO and EnabledRefRW components as well as entities that match the constructed Query.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Thursday, August 10, 2023