Method TimeTravel
TimeTravel(double, int)
Simulate a number of frames passing over a specific amount of time. The delta time simulated for each frame will be evenly divided as time/numFrames This will only simulate the netcode update loop, as well as update events on NetworkBehaviour instances, and will not simulate any Unity update processes (physics, etc)
Declaration
protected static void TimeTravel(double amountOfTimeInSeconds, int numFramesToSimulate)
Parameters
Type | Name | Description |
---|---|---|
double | amountOfTimeInSeconds | |
int | numFramesToSimulate |