Creates a new Thread which runs the given enumeratable action.
Namespace: UnityThreadingAssembly: UnityThreading (in UnityThreading.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public EnumeratableActionThread( Func<ThreadBase, IEnumerator> enumeratableAction, bool autoStartThread ) |
Visual Basic |
---|
Public Sub New ( _ enumeratableAction As Func(Of ThreadBase, IEnumerator), _ autoStartThread As Boolean _ ) |
Visual C++ |
---|
public: EnumeratableActionThread( Func<ThreadBase^, IEnumerator^>^ enumeratableAction, bool autoStartThread ) |
Parameters
- enumeratableAction
- Type: System..::..Func<(Of <(<'ThreadBase, IEnumerator>)>)>
- autoStartThread
- Type: System..::..Boolean
Should the thread start after creation.