docs.unity.cn
    Show / Hide Table of Contents

    Method WithChangeFilter

    WithChangeFilter<T>(ForEachLambdaJobDescription)

    Add qualification to the generated query that it should only return entities that have chunks where the specified component changed since the last time the system ran.

    Declaration
    public static ForEachLambdaJobDescription WithChangeFilter<T>(this ForEachLambdaJobDescription description)
    Parameters
    Type Name Description
    Unity.Entities.CodeGeneratedJobForEach.ForEachLambdaJobDescription description

    The target object

    Returns
    Type Description
    Unity.Entities.CodeGeneratedJobForEach.ForEachLambdaJobDescription

    The target object, suitable for chaining multiple methods

    Type Parameters
    Name Description
    T

    Type of component

    WithChangeFilter<T1, T2>(ForEachLambdaJobDescription)

    Add qualification to the generated query that it should only return entities that have chunks where the specified component changed since the last time the system ran.

    Declaration
    public static ForEachLambdaJobDescription WithChangeFilter<T1, T2>(this ForEachLambdaJobDescription description)
    Parameters
    Type Name Description
    Unity.Entities.CodeGeneratedJobForEach.ForEachLambdaJobDescription description

    The target object

    Returns
    Type Description
    Unity.Entities.CodeGeneratedJobForEach.ForEachLambdaJobDescription

    The target object, suitable for chaining multiple methods

    Type Parameters
    Name Description
    T1

    First type of component

    T2

    Second type of component

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