![]() | CoroutineT Class |
Namespace: DustProductions.Core
public class Coroutine<T>
The CoroutineT type exposes the following members.
Name | Description | |
---|---|---|
![]() | Exception |
If there was an exception thrown, this is that exception.
|
![]() | HasException |
True if we have thrown an exception during execution.
|
![]() | IsActive |
Is this coroutine running?
|
![]() | IsCancelled |
True if the coroutine was cancelled externally.
|
![]() | ThisCoroutine |
A reference to the current actual coroutine
|
![]() | Value |
Gets the current value of the IEnumerator, if one exists, otherwise it's null.
|
Name | Description | |
---|---|---|
![]() | Cancel |
Call this to stop the coroutine, will throw an exception when the coroutine leaves a yield statement
|