Click or drag to resize

LagCompensationManagerSimulate Method (Single, Action)

Turns time back a given amount of seconds, invokes an action and turns it back

Namespace:  MLAPI.NetworkingManagerComponents
Assembly:  MLAPI (in MLAPI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static void Simulate(
	float secondsAgo,
	Action action
)

Parameters

secondsAgo
Type: SystemSingle
The amount of seconds
action
Type: SystemAction
The action to invoke when time is turned back
See Also