ドキュメント

Unity Engine

Unity Engine

Complete()

Ensures that a job has completed.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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.