docs.unity.cn
    Show / Hide Table of Contents

    Class LambdaSingleJobDescriptionConstructionMethods

    Static class holding methods to construct Job.WithCode jobs.

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

    Methods

    Name Description
    WithCode<TDescription>(TDescription, LambdaSingleJobDescriptionConstructionMethods.WithCodeAction)

    Provides an easy way to run a function as a single background job. You can also run Job.WithCode on the main thread and still take advantage of Burst compilation to speed up execution.

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