docs.unity3d.com
Search Results for

    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, and only if the component is enabled on the entity.

    Declaration
    public static ForEachLambdaJobDescription WithAll<T>(this ForEachLambdaJobDescription description)
    Parameters
    Type Name Description
    ForEachLambdaJobDescription description

    The target object

    Returns
    Type Description
    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, and only if the component is enabled on the entity.

    Declaration
    public static ForEachLambdaJobDescription WithAll<T1, T2>(this ForEachLambdaJobDescription description)
    Parameters
    Type Name Description
    ForEachLambdaJobDescription description

    The target object

    Returns
    Type Description
    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, and only if the component is enabled on the entity.

    Declaration
    public static ForEachLambdaJobDescription WithAll<T1, T2, T3>(this ForEachLambdaJobDescription description)
    Parameters
    Type Name Description
    ForEachLambdaJobDescription description

    The target object

    Returns
    Type Description
    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

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)