Creates a new Thread which runs the given action.
The thread will start running after creation.
Namespace: UnityThreadingAssembly: UnityThreading (in UnityThreading.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# |
|---|
public ActionThread( Action<ActionThread> action ) |
| Visual Basic |
|---|
Public Sub New ( _ action As Action(Of ActionThread) _ ) |
| Visual C++ |
|---|
public: ActionThread( Action<ActionThread^>^ action ) |
Parameters
- action
- Type: System..::..Action<(Of <(<'ActionThread>)>)>
The action to run.