Summary
A job modifier which runs after each iteration of an update.
- Assembly
- FlexiMotion
.dll - Namespace
- FlexiMotion
.Modifiers - Containing Type
- AccelerationModifier
Syntax
public virtual JobHandle OnUpdate(JobHandle dependsOn = null)
Remarks
If multiple updates occur in a row due to the
FlexiMotion.FlexiMotionRuntime.UpdatesPerSecond
, this
modifier will run for each one (unlike FlexiMotion.Modifiers.JobModifierGroup.IPostUpdate
).
Parameters
Name | Type | Description |
---|---|---|
dependsOn | JobHandle |
Return Value
Type | Description |
---|---|
JobHandle |