ActionRunCoroutine Class |
Namespace: TreeSharp
public class ActionRunCoroutine : Action
The ActionRunCoroutine type exposes the following members.
Name | Description | |
---|---|---|
ActionRunCoroutine(FuncObject, Coroutine) |
Initializes a new instance with the specified coroutine producer.
| |
ActionRunCoroutine(FuncObject, CoroutineTaskBoolean) |
Initializes a new instance with the specified coroutine task producer.
| |
ActionRunCoroutine(FuncObject, CoroutineTask) |
Initializes a new instance with the specified coroutine task producer.
| |
ActionRunCoroutine(FuncObject, TaskBoolean) |
Initializes a new instance with the specified task producer.
| |
ActionRunCoroutine(FuncObject, Task) |
Initializes a new instance with the specified task producer.
|
Name | Description | |
---|---|---|
CleanupHandlers | (Inherited from Composite.) | |
ContextChanger | (Inherited from Composite.) | |
Guid | (Inherited from Composite.) | |
IsRunning | (Inherited from Composite.) | |
LastStatus | (Inherited from Composite.) | |
Parent | (Inherited from Composite.) | |
Runner | (Inherited from Action.) | |
SucceedRunner | (Inherited from Action.) |
Name | Description | |
---|---|---|
Cleanup | (Inherited from Composite.) | |
Equals(Object) | (Inherited from Composite.) | |
Equals(Composite) | (Inherited from Composite.) | |
Execute | (Inherited from Action.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | (Inherited from Composite.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Run | (Overrides ActionRun(Object).) | |
RunAction | (Inherited from Action.) | |
Start | (Overrides CompositeStart(Object).) | |
Stop | (Overrides CompositeStop(Object).) | |
Tick | (Inherited from Composite.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
ExecuteCoroutine |
Executes the composite inside a coroutine.
(Defined by CommonTasks.) |
The RunStatus that this action returns depends on the Coroutine being run.
If the coroutine yields, the action returns Running and does not resume until next tick.
If the coroutine returns boolean false, the action returns Failure.
If the coroutine terminates with any other result than boolean false, the action returns Success.