Class MainThreadCoroutineCommand
Inherited Members
Namespace: InsaneScatterbrain.Threading
Syntax
public class MainThreadCoroutineCommand
Constructors
MainThreadCoroutineCommand(IEnumerator)
Declaration
public MainThreadCoroutineCommand(IEnumerator action)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerator | action |
Methods
Cancel()
Stops executing the command as soon as possible.
Declaration
public void Cancel()
Execute()
Declaration
public void Execute()
ExecuteCoroutine()
Executes the command.
Declaration
public IEnumerator ExecuteCoroutine()
Returns
| Type | Description |
|---|---|
| IEnumerator |
ExecuteCoroutineNoCheck()
Executes the command.
Declaration
public IEnumerator ExecuteCoroutineNoCheck()
Returns
| Type | Description |
|---|---|
| IEnumerator |
ExecuteNoCheck()
Declaration
public void ExecuteNoCheck()
Reset()
Declaration
public void Reset()
WaitForCompletion()
Makes the calling thread wait for the completion of this command.
Declaration
public void WaitForCompletion()