BetterCoroutines Methods |
The BetterCoroutines type exposes the following members.
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize |
Destructor.
(Overrides ObjectFinalize.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the type of the current instance. (Inherited from Object.) | |
IsPaused |
Checks whether a coroutine is currently paused either directly or because of a paused parent.
| |
IsRunning |
Checks whether a coroutine with the given ID is running.
A paused coroutine is still considered running.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Pause |
Pauses a coroutine.
| |
SetPaused |
Pauses or unpauses a coroutine.
| |
Start(IEnumerator, UpdateLoop) |
Starts a new coroutine.
| |
Start(IEnumerator, Int32) |
Starts a new coroutine.
| |
Start(IEnumerator, GameObject, UpdateLoop) |
Starts a new coroutine and links its lifetime to a gameobject.
The coroutine will be stopped when the linked gameobject is disabled or destroyed.
| |
Start(IEnumerator, GameObject, Int32) |
Starts a new coroutine and links its lifetime to a gameobject.
The coroutine will be stopped when the linked gameobject is disabled or destroyed.
| |
Start(IEnumerator, MonoBehaviour, UpdateLoop) |
Starts a new coroutine and links its lifetime to a component.
The coroutine will be stopped when the linked component is disabled or destroyed.
| |
Start(IEnumerator, MonoBehaviour, Int32) |
Starts a new coroutine and links its lifetime to a component.
The coroutine will be stopped when the linked component is disabled or destroyed.
| |
Stop |
Stops a running coroutine prematurely.
This will stop any child coroutines as well.
| |
StopAll |
Stops all coroutines.
| |
StopAll(Int32) |
Stops all coroutines that are running in the specified update loop.
| |
StopAll(UpdateLoop) |
Stops all coroutines that are running in the specified update loop.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Unpause |
Unpauses a paused coroutine.
| |
WaitForAsyncOperation |
Waits until the specified AsyncOperation is done.
| |
WaitForSeconds |
Waits for the specified amount of seconds, either in scaled time (just as Unity's WaitForSeconds) or in unscaled time.
| |
WaitForSecondsRealtime |
Waits for the specified amount of seconds in real time.
Lighter replacement for WaitForSecondsRealtime.
| |
WaitForWWW |
Waits until the specified WWW object has finished.
| |
WaitUntil |
Waits until the given predicate returns true.
| |
WaitWhile |
Waits until the given predicate returns false.
|