docs.unity.cn
    Show / Hide Table of Contents

    Class LambdaJobDescriptionExecutionMethods

    Static class holding methods to construct lambda jobs (Entities.ForEach and Job.WithCode)

    Inheritance
    Object
    LambdaJobDescriptionExecutionMethods
    Namespace: Unity.Entities
    Syntax
    public static class LambdaJobDescriptionExecutionMethods

    Methods

    Name Description
    Run<TDescription>(TDescription)

    Runs the generated job immediately on the current thread.

    Schedule<TDescription>(TDescription)

    Schedule the generated job to be run sequentially and use the Dependency property of the containing system for both the input and output dependencies. This job may run at a later point, but will run the job execution sequentially instead of in parallel.

    Schedule<TDescription>(TDescription, JobHandle)

    Schedule the generated job to be run sequentially. This job may run at a later point, but will run the job execution sequentially instead of in parallel.

    ScheduleParallel<TDescription>(TDescription)

    Schedule the generated job to be run in parallel and use the Dependency property of the containing system for both the input and output dependencies. This job may run at a later point and will run the job execution in parallel.

    ScheduleParallel<TDescription>(TDescription, JobHandle)

    Schedule the generated job to be run in parallel. This job may run at a later point and will run the job execution in parallel.

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