Method Execute
Execute(CancellationToken)
Executes all actions in that aura in the following order: OnEnter -> WhileActive -> OnExit It does not matter whether the aura has changed its state or not - all actions will be executed anyways, if not cancelled
Declaration
void Execute(CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
CancellationToken | cancellationToken | The cancellation token which will be monitored. Execution will stop if cancellation is requested |
Examples
var aura = AuraTree.FindAuraByPath("MyFolder/Aura1");
aura.Execute();