Method Schedule
Schedule<T>(T, EntityQuery, JobHandle)
Declaration
public static JobHandle Schedule<T>(this T jobData, EntityQuery query, JobHandle dependsOn = default(JobHandle))
where T : struct, IJobEntity
Parameters
Returns
Type Parameters
Schedule<T>(T, JobHandle)
Schedules the given job to run on an arbitrary non-main thread. By copying the job data.
Declaration
public static JobHandle Schedule<T>(this T jobData, JobHandle dependsOn = default(JobHandle))
where T : struct, IJobEntity
Parameters
Type |
Name |
Description |
T |
jobData |
The implemented IJobEntity job
|
JobHandle |
dependsOn |
A jobhandle dependency, if not specified then generated as Dependency property in System
|
Returns
Type |
Description |
JobHandle |
Jobhandle with dependency chain
|
Type Parameters
Name |
Description |
T |
Type of IJobEntity implementation
|