ShouldPause
method in Coherence.Toolkit.CoherenceInput
Methods
public bool ShouldPause(long commonReceivedFrame)
If true, the buffer cannot do any more predictions. Client should pause the game and stop polling inputs to not lose any data required for a rollback.
Parameters
| Type | Name | Description |
|---|---|---|
| long | commonReceivedFrame | Common (lowest) received frame for all inputs in the simulation. |
Returns
| Type | Description |
|---|---|
| bool |