docs.unity.cn
    Show / Hide Table of Contents

    Method WithChangeFilter

    WithChangeFilter<TChangeFilter1>()

    Only select components in chunks in which the specified component might have changed since the last time the system updated.

    Declaration
    public QueryEnumerable<T1, T2, T3, T4> WithChangeFilter<TChangeFilter1>()
    Returns
    Type Description
    QueryEnumerable<T1, T2, T3, T4>

    QueryEnumerable, which allows enumerating over all Aspects, RefRO, RefRW, EnabledRefRO and EnabledRefRW components that match the constructed Query.

    Type Parameters
    Name Description
    TChangeFilter1

    A component type

    WithChangeFilter<TChangeFilter1, TChangeFilter2>()

    Only select components in chunks in which the specified component might have changed since the last time the system updated.

    Declaration
    public QueryEnumerable<T1, T2, T3, T4> WithChangeFilter<TChangeFilter1, TChangeFilter2>()
    Returns
    Type Description
    QueryEnumerable<T1, T2, T3, T4>

    QueryEnumerable, which allows enumerating over all Aspects, RefRO, RefRW, EnabledRefRO and EnabledRefRW components that match the constructed Query.

    Type Parameters
    Name Description
    TChangeFilter1

    A component type

    TChangeFilter2

    A component type

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