TimeAgent.

SimulationUpdate(float, TimeStone) Method

Summary

SimulationUpdate callback called by timeStone.

Syntax

public virtual void SimulationUpdate(float step, TimeStone stone)

Remarks

Use UnityEvent or override to add code during simulation execution TimeStone is given as a parameter in case you have multiple TimeStone using the same TimeAgent

Parameters

Name Type Description
step float The time step (deltaTime) since last update call
stone TimeStone The TimeStone that called this method>

Return Value

Type Description
void