Photon Fusion 2.0.3

Public Member Functions | List of all members
IAfterAllTicks Interface Reference

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

Inherits IPublicFacingInterface.

Inherited by NetworkMecanimAnimator, and NetworkTransform.

Public Member Functions

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

Detailed Description

Interface for AfterAllTicks callback. Called after the re-simulation 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 re-simulation loop (when applicable), and also after the forward simulation loop. Only called on Updates where re-simulation or forward ticks are processed.

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