Photon Fusion 1.1.11

Public Member Functions | List of all members
IAfterAllTicks Interface Reference

Interface for AfterAllTicks callback. Called after the resimulation loop (when applicable), and also after the forward simulation loop. Implement this interface on SimulationBehaviour and NetworkBehaviour classes. More...

Inherited by NetworkMecanimAnimator, NetworkPosition, and NetworkTransformAnchor.

Public Member Functions

void AfterAllTicks (bool resimulation, int tickCount)
 Called after the resimulation loop (when applicable), and also after the forward simulation loop. Only called on Updates where resimulation or forward ticks are processed. More...
 

Detailed Description

Interface for AfterAllTicks callback. Called after the resimulation loop (when applicable), and also after the forward simulation loop. Implement this interface on SimulationBehaviour and NetworkBehaviour classes.

Member Function Documentation

◆ AfterAllTicks()

void AfterAllTicks ( bool  resimulation,
int  tickCount 
)

Called after the resimulation loop (when applicable), and also after the forward simulation loop. Only called on Updates where resimulation or forward ticks are processed.

Parameters
resimulationTrue if this is being called during the resimulation loop. False if during the forward simulation loop.
tickCountHow many resimulation or forward ticks are going to be processed.

Implemented in NetworkTransformAnchor, NetworkTransform, NetworkRigidbodyBase, and NetworkPosition.