Click or drag to resize

ControlHelperDelay Method (Int32, Int32, Action)

Keep calling a method after a specified number of frames.

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

Parameters

delayFrames
Type: SystemInt32
Number of frames to hold out for before calling for the first time.
intervalFrames
Type: SystemInt32
Number of frames to hold out for before calling subsequent times.
action
Type: SystemAction
Action to perform.
See Also