Creates a new Thread which runs the given enumeratable 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 EnumeratableActionThread( Func<ThreadBase, IEnumerator> enumeratableAction ) |
Visual Basic |
---|
Public Sub New ( _ enumeratableAction As Func(Of ThreadBase, IEnumerator) _ ) |
Visual C++ |
---|
public: EnumeratableActionThread( Func<ThreadBase^, IEnumerator^>^ enumeratableAction ) |
Parameters
- enumeratableAction
- Type: System..::..Func<(Of <(<'ThreadBase, IEnumerator>)>)>