Interface for BeforeAllTicks callback. Called before the resimulation loop (when applicable), and also before the forward simulation loop. Implement this interface on SimulationBehaviour and NetworkBehaviour classes. More...
Inherited by NetworkPosition, and NetworkTransformAnchor.
Public Member Functions | |
void | BeforeAllTicks (bool resimulation, int tickCount) |
Called before the resimulation loop (when applicable), and also before the forward simulation loop. Only called on Updates where resimulation or forward ticks are processed. More... | |
Interface for BeforeAllTicks callback. Called before the resimulation loop (when applicable), and also before the forward simulation loop. Implement this interface on SimulationBehaviour and NetworkBehaviour classes.
void BeforeAllTicks | ( | bool | resimulation, |
int | tickCount | ||
) |
Called before the resimulation loop (when applicable), and also before the forward simulation loop. Only called on Updates where resimulation or forward ticks are processed.
resimulation | True if this is being called during the resimulation loop. False if during the forward simulation loop. |
tickCount | How many resimulation or forward ticks are going to be processed. |
Implemented in NetworkTransformAnchor, NetworkRigidbodyBase, and NetworkPosition.