Interface for predicted spawn callbacks. Implement this interface on SimulationBehaviour and NetworkBehaviour classes. More...
Inherited by NetworkTransform.
Public Member Functions | |
void | PredictedSpawnFailed () |
Called when Server does not produce the spawn that has been predicted. The spawn did not actually happen, and this callback may be used to clean up after the missed prediction. More... | |
void | PredictedSpawnRender () |
Called every tick in place of Render(), until PredictedSpawnSuccess or PredictedSpawnFailed occur. More... | |
void | PredictedSpawnSpawned () |
Called in place of Spawned(), when the predicted object is initially created locally on the client. More... | |
void | PredictedSpawnSuccess () |
Called when Server spawn was has been confirmed, and the predicted spawn object has been added to the simulation. More... | |
void | PredictedSpawnUpdate () |
Called every tick in place of FixedUpdateNetwork(), until PredictedSpawnSuccess or PredictedSpawnFailed occur. More... | |
Interface for predicted spawn callbacks. Implement this interface on SimulationBehaviour and NetworkBehaviour classes.
void PredictedSpawnFailed | ( | ) |
Called when Server does not produce the spawn that has been predicted. The spawn did not actually happen, and this callback may be used to clean up after the missed prediction.
Implemented in NetworkTransform.
void PredictedSpawnRender | ( | ) |
Called every tick in place of Render(), until PredictedSpawnSuccess or PredictedSpawnFailed occur.
Implemented in NetworkTransform.
void PredictedSpawnSpawned | ( | ) |
Called in place of Spawned(), when the predicted object is initially created locally on the client.
Implemented in NetworkTransform.
void PredictedSpawnSuccess | ( | ) |
Called when Server spawn was has been confirmed, and the predicted spawn object has been added to the simulation.
Implemented in NetworkTransform.
void PredictedSpawnUpdate | ( | ) |
Called every tick in place of FixedUpdateNetwork(), until PredictedSpawnSuccess or PredictedSpawnFailed occur.
Implemented in NetworkTransform.