Creates a new Thread which runs the given action. The thread will start running after creation.

Namespace: UnityThreading
Assembly: UnityThreading (in UnityThreading.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public TickThread(
	Action action,
	int tickLengthInMilliseconds
)
Visual Basic
Public Sub New ( _
	action As Action, _
	tickLengthInMilliseconds As Integer _
)
Visual C++
public:
TickThread(
	Action^ action, 
	int tickLengthInMilliseconds
)

Parameters

action
Type: System..::..Action
The enumeratable action to run.
tickLengthInMilliseconds
Type: System..::..Int32
Time between ticks.

See Also