Photon Fusion 2.0.4

Public Member Functions | List of all members
IBeforeSimulation Interface Reference

Interface for BeforeSimulation callback. Called before both the re-simulation (when applicable) and forward simulation loops. Implement this interface on SimulationBehaviour and NetworkBehaviour classes. More...

Inherits IPublicFacingInterface.

Inherited by HitboxManager.

Public Member Functions

void BeforeSimulation (int forwardTickCount)
 Called before both the re-simulation (when applicable) and forward simulation loops. Only called on updates that have forward ticks to process. More...
 

Detailed Description

Interface for BeforeSimulation callback. Called before both the re-simulation (when applicable) and forward simulation loops. Implement this interface on SimulationBehaviour and NetworkBehaviour classes.

Member Function Documentation

◆ BeforeSimulation()

void BeforeSimulation ( int  forwardTickCount)

Called before both the re-simulation (when applicable) and forward simulation loops. Only called on updates that have forward ticks to process.

Parameters
forwardTickCountHow many forward ticks are going to be processed.