Run<T>(T, int)
Performs the job's Execute method immediately on the main thread.
阅读时间1 分钟最后更新于 1 个月前
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.