![]() |
Obi
7.0.5
Unified particle physics for Unity
|
Classes | |
| class | ProgressInfo |
Public Member Functions | |
| IEnumerator | Start (IEnumerator coroutine) |
| void | Stop () |
Static Public Member Functions | |
| static object | RunSynchronously (IEnumerator coroutine) |
Public Attributes | |
| int | asyncThreshold = 250 |
Properties | |
| object | Result [get] |
| bool | IsDone [get] |
| bool | RaisedException [get] |
Implementation of asynchronous jobs that can return data, throw exceptions, and have a duration threshold below which they are run synchronously.
|
static |
Runs the provided coroutine in a completely syncrhonous way, just like it would if it wasn't a coroutine, and returns a list of all coroutine results, in the order they were yielded. Will immediately rethrow any exceptions thrown by the coroutine.