Photon Fusion 2.1.1

IBeforeClientPredictionReset Interface Reference

Callback interface for BeforeClientPredictionReset. Called at the very start of the re-simulation loop (on clients with prediction enabled), before state is set to the latest server snapshot. Implement this interface on SimulationBehaviour and NetworkBehaviour classes. More...

Inherits IPublicFacingInterface.

Public Member Functions

void BeforeClientPredictionReset ()
 Called at the very start of the re-simulation loop (on clients with prediction enabled), before state is set to the latest server snapshot.

Detailed Description

Callback interface for BeforeClientPredictionReset. Called at the very start of the re-simulation loop (on clients with prediction enabled), before state is set to the latest server snapshot. Implement this interface on SimulationBehaviour and NetworkBehaviour classes.