The UnityThreadHelper type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| UnityThreadHelper | Initializes a new instance of the UnityThreadHelper class |
Methods
| Name | Description | |
|---|---|---|
| CreateThread(Action) |
Creates new thread which runs the given action and starts it after creation. The given action will be wrapped so that any exception will be catched and logged.
| |
| CreateThread(Func<(Of <<'(IEnumerator>)>>)) |
Creates new thread which runs the given action and starts it after creation. The given action will be wrapped so that any exception will be catched and logged.
| |
| CreateThread(Action<(Of <<'(ActionThread>)>>)) |
Creates new thread which runs the given action and starts it after creation. The given action will be wrapped so that any exception will be catched and logged.
| |
| CreateThread(Func<(Of <<'(ThreadBase, IEnumerator>)>>)) |
Creates new thread which runs the given action and starts it after creation. The given action will be wrapped so that any exception will be catched and logged.
| |
| CreateThread(Action, Boolean) |
Creates new thread which runs the given action. The given action will be wrapped so that any exception will be catched and logged.
| |
| CreateThread(Func<(Of <<'(IEnumerator>)>>), Boolean) |
Creates new thread which runs the given action. The given action will be wrapped so that any exception will be catched and logged.
| |
| CreateThread(Action<(Of <<'(ActionThread>)>>), Boolean) |
Creates new thread which runs the given action. The given action will be wrapped so that any exception will be catched and logged.
| |
| CreateThread(Func<(Of <<'(ThreadBase, IEnumerator>)>>), Boolean) |
Creates new thread which runs the given action. The given action will be wrapped so that any exception will be catched and logged.
| |
| EnsureHelper |
Extension Methods
| Name | Description | |
|---|---|---|
| RunAsync(String, array<Object>[]()[][]) | Overloaded.
Starts the given Method as async Task on the given TaskDistributor.
(Defined by ObjectExtension.) | |
| RunAsync(String, TaskDistributor, array<Object>[]()[][]) | Overloaded.
Starts the given Method as async Task on the given TaskDistributor.
(Defined by ObjectExtension.) | |
| RunAsync<(Of <<'(T>)>>)(String, array<Object>[]()[][]) | Overloaded.
Starts the given Method as async Task on the given TaskDistributor.
(Defined by ObjectExtension.) | |
| RunAsync<(Of <<'(T>)>>)(String, TaskDistributor, array<Object>[]()[][]) | Overloaded.
Starts the given Method as async Task on the given TaskDistributor.
(Defined by ObjectExtension.) |
Properties
| Name | Description | |
|---|---|---|
| CurrentDispatcher | ||
| CurrentTaskDistributor | ||
| Dispatcher |
Returns the GUI/Main Dispatcher.
| |
| TaskDistributor |
Returns the TaskDistributor.
|