unsafe public static JobHandle Schedule <T>(this T jobData, NativeRef <int> forEachCount, int innerloopBatchCount, JobHandle dependsOn = new JobHandle()) where T : struct, IJobParallelForDefer { return(IJobParallelForDeferExtensions.Schedule(jobData, forEachCount.Ptr, innerloopBatchCount, dependsOn)); }
unsafe public static JobHandle Schedule <T>(this T jobData, NativeArray <int> forEachCount, int innerloopBatchCount, JobHandle dependsOn = new JobHandle()) where T : struct, IJobParallelForDefer { return(IJobParallelForDeferExtensions.Schedule(jobData, (int *)NativeArrayUnsafeUtility.GetUnsafeBufferPointerWithoutChecks(forEachCount), innerloopBatchCount, dependsOn)); }