Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


RunByRef<T>(ref T)

Performs the job's Execute method immediately on the same thread by reference.
Read time 1 minuteLast updated 17 days ago

Definition

  • Type: Method
  • Namespace: Unity.Jobs
  • Assembly: UnityEngine.CoreModule

RunByRef<T>(T)

public static void RunByRef<T>(this ref T jobData) where T : struct, IJob

Parameters

jobData

T
The job and data to run.

Remarks

Additional Resources: IJob.