JobModifierGroup.IOnReEnable.

JobModifierGroup.

OnReInitialize(JobHandle) Method

Summary

A job modifier which runs when the simulation is enabled again after having previously been disabled (i.e. not the first time it's enabled after being created).

Syntax

JobHandle OnReInitialize(JobHandle dependsOn = null)

Parameters

Name Type Description
dependsOn JobHandle

Return Value

Type Description
JobHandle