Run<T>(T, int)
Performs the job's Execute method immediately on the main thread.
Read time 1 minuteLast updated 15 days ago
Definition
- Type: Method
- Namespace: Unity.Jobs
- Assembly: UnityEngine.CoreModule
public static void Run<T>(this T jobData, int arrayLength) where T : struct, IJobFor
Parameters
The number of iterations to execute the for loop over.
Remarks
Additional Resources: IJobFor.