기술 자료

Unity Engine

Unity Engine

Run<T>(T, int)

Performs the job's Execute method immediately on the same thread.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

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

Parameters

jobData

T
The job and data to execute.

arrayLength

The number of iterations to execute the for loop over.

Remarks

Additional Resources: IJobParallel.