docs.unity.cn
    Show / Hide Table of Contents

    Method WithAll

    WithAll<T>(ForEachLambdaJobDescription)

    Add qualification to the generated query that it should only return entities that have all of the specified component type.

    Declaration
    public static ForEachLambdaJobDescription WithAll<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

    First type of component

    WithAll<T1, T2>(ForEachLambdaJobDescription)

    Add qualification to the generated query that it should only return entities that have all of the specified component type.

    Declaration
    public static ForEachLambdaJobDescription WithAll<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

    WithAll<T1, T2, T3>(ForEachLambdaJobDescription)

    Add qualification to the generated query that it should only return entities that have all of the specified component type.

    Declaration
    public static ForEachLambdaJobDescription WithAll<T1, T2, T3>(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

    T3

    Third type of component

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