Click or drag to resize
UntilFailDecorator Class
A decorator which executes the decorated decider until it fails. If the task succeeds, it is restarted.
Inheritance Hierarchy

Namespace: Slash.AI.BehaviorTrees.Implementations.Decorators
Assembly: Slash.AI.BehaviorTrees (in Slash.AI.BehaviorTrees.dll) Version: 1.0.6018.40184
Syntax
[SerializableAttribute]
public class UntilFailDecorator : Decorator

The UntilFailDecorator type exposes the following members.

Constructors
  NameDescription
Public methodUntilFailDecorator
Initializes a new instance of the UntilFailDecorator class
Top
Methods
  NameDescription
Public methodActivate
Activation. This method is called when the task was chosen to be executed. It's called right before the first update of the task. The task can setup its specific task data in here and do initial actions.
(Overrides DecoratorActivate(IAgentData, IDecisionData).)
Public methodDeactivate
Deactivation.
(Overrides DecoratorDeactivate(IAgentData).)
Public methodUpdate
Per frame update.
(Overrides DecoratorUpdate(IAgentData).)
Top
See Also