文档

Unity Engine

Unity Engine

Run<T>(T)

Performs the job's Execute method immediately on the same thread.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: Unity.Jobs
  • Assembly: UnityEngine.CoreModule
public static void Run<T>(this T jobData) where T : struct, IJob

Parameters

jobData

T
The job and data to run.

Remarks

Additional Resources: IJob.