docs.unity.cn
    Show / Hide Table of Contents

    Method RunWithoutJobs

    RunWithoutJobs<T>(ref T, EntityQuery)

    Runs the job without using the jobs API.

    Declaration
    public static void RunWithoutJobs<T>(ref T jobData, EntityQuery query)
        where T : struct, IJobEntityBatchWithIndex
    Parameters
    Type Name Description
    T jobData

    The job to execute.

    EntityQuery query

    The query selecting chunks with the necessary components.

    Type Parameters
    Name Description
    T

    The specific IJobEntityBatch implementation type.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, July 6, 2022
    Terms of use