Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

JobHandle

struct in Unity.Jobs

/

Implemented in:UnityEngine.CoreModule

Description

JobHandle.

Properties

IsCompletedReturns false if the task is currently running. Returns true if the task has completed.

Public Methods

CompleteEnsures that the job has completed.

Static Methods

CheckFenceIsDependencyOrDidSyncFenceCheckFenceIsDependencyOrDidSyncFence.
CombineDependenciesCombines multiple dependencies into a single one.
CompleteAllEnsures that all jobs have completed.
ScheduleBatchedJobsBy default jobs are only put on a local queue when using Job Schedule functions, this actually makes them available to the worker threads to execute them.

Did you find this page useful? Please give it a rating: