Method AddDependency
AddDependency(JobHandle)
Adds another job handle to this EntityQuery's dependencies.
Declaration
public JobHandle AddDependency(JobHandle job)
Parameters
Type | Name | Description |
---|---|---|
JobHandle | job |
Returns
Type | Description |
---|---|
JobHandle |
Remarks
An entity query uses jobs internally when required to create arrays of entities and chunks. This junction adds an external job as a dependency for those internal jobs.