Arcade
|
Basic Awaitable used to delay execution of a coroutine for a given period of time. More...
Public Member Functions | |
Delay (Stage stage, double seconds) | |
Constructs a new Delay Awaitable using the given Stage and period in seconds. More... | |
Public Member Functions inherited from GameAPI.BudgetBoy.Awaitable | |
void | Update () |
Update the task represented by this Awaitable for one frame. More... | |
Protected Member Functions | |
override void | OnUpdate () |
Called when the task represented by this Awaitable should update for one frame. More... | |
Protected Member Functions inherited from GameAPI.BudgetBoy.Awaitable | |
virtual void | OnStarted () |
Called when the Awaitable first begins updating its task. More... | |
virtual void | OnCompleted () |
Called when the Awaitable has completed its task. More... | |
Properties | |
override bool | IsComplete [get] |
Returns true if the delay has elapsed. More... | |
Properties inherited from GameAPI.BudgetBoy.Awaitable | |
abstract bool | IsComplete [get] |
When overridden, returns true if the Awaitable's task has completed. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from GameAPI.BudgetBoy.Awaitable | |
static Awaitable | FromObject (Object obj) |
Attempts to convert an object into an Awaitable. If the object is an IEnumerator or a function returning an IEnumerator it is converted into a Coroutine, otherwise it is assumed to extend Awaitable. Returns null if the object cannot be converted. More... | |
Events inherited from GameAPI.BudgetBoy.Awaitable | |
EventHandler< AwaitableEventArgs > | Started |
Event called when the Awaitable first begins updating its task. More... | |
EventHandler< AwaitableEventArgs > | Completed |
Event called when the Awaitable has completed its task. More... | |
Basic Awaitable used to delay execution of a coroutine for a given period of time.
|
inline |
|
inlineprotectedvirtual |
Called when the task represented by this Awaitable should update for one frame.
Implements GameAPI.BudgetBoy.Awaitable.
|
get |
Returns true if the delay has elapsed.