Class Coroutine
Represents the state of Coroutine, can be used to query if the coroutine has finished.
Inherited Members
Namespace: LobsterFramework
Assembly: LobsterFramework.dll
Syntax
public class Coroutine
Constructors
| Improve this Doc View SourceCoroutine(CoroutineRunner, IEnumerable<CoroutineOption>)
Declaration
public Coroutine(CoroutineRunner runner, IEnumerable<CoroutineOption> coroutine)
Parameters
Type | Name | Description |
---|---|---|
CoroutineRunner | runner | |
IEnumerable<CoroutineOption> | coroutine |
Properties
| Improve this Doc View SourceIsFinished
True if the coroutine is finished, false otherwise
Declaration
public bool IsFinished { get; }
Property Value
Type | Description |
---|---|
bool |
Methods
| Improve this Doc View SourceStop()
Mark coroutine as stopped, it will not be executed further
Declaration
public void Stop()
Events
| Improve this Doc View SourceOnReset
Declaration
public event Action OnReset
Event Type
Type | Description |
---|---|
Action |