docs.unity.cn
    Show / Hide Table of Contents

    Method WithDisabled

    WithDisabled<T>(ForEachLambdaJobDescription)

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

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

    WithDisabled<T1, T2>(ForEachLambdaJobDescription)

    Add qualification to the generated query that it should only return entities that have the specified DISABLED component types.

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