public void SetAfterBehavior(TaskBase.AfterAlertClosed behavior) { this.afterAlertClosedBehavior = behavior; }
public virtual IEnumerator OnAlert(Exception exception) { this.afterAlertClosedBehavior = TaskBase.AfterAlertClosed.RETURN; yield break; }