ResetJobWorkerCount()
Reset JobsUtility.JobWorkerCount to the Unity adjusted value.
Read time 1 minuteLast updated a month ago
Definition
- Type: Method
- Namespace: Unity.Jobs.LowLevel.Unsafe
- Assembly: UnityEngine.ManagedKernelModule
public static void ResetJobWorkerCount()
Remarks
Sets JobsUtility.JobWorkerCount to the Unity adjusted value. By default, this is JobsUtility.JobWorkerMaximumCount. Also re-enables the Unity automatic adjustment mode for JobsUtility.JobWorkerCount.