Method TickAsync
TickAsync(CancellationToken)
Executes the behavior tree and updates its status
Declaration
Task<NodeStatus> TickAsync(CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task<NodeStatus> | Returns the status of the node after execution or throws if something bad happened. |