Click or drag to resize

ControlHelperDelay Method (Single, Single, Action)

Keep calling a method after a specified number of seconds.

Namespace:  Kit
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntax
C#
public void Delay(
	float delaySeconds,
	float intervalSeconds,
	Action action
)
Request Example View Source

Parameters

delaySeconds
Type: SystemSingle
Number of seconds to hold out for before calling for the first time.
intervalSeconds
Type: SystemSingle
Number of seconds to hold out for before calling subsequent times.
action
Type: SystemAction
Action to perform.
See Also