Complete()
Ensures that a job has completed.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: Unity.Jobs
- Assembly: UnityEngine.CoreModule
public void Complete()
Remarks
The job system automatically prioritizes the job and any of its dependencies to run first in the queue, then attempts to execute the job on the thread which calls the Complete method.
Note: You can't use this method in single-threaded WebGL builds where the job represents a network transfer because HTTP transfers in web browsers must run to completion asynchronously.