Class BehaviorTreeKnowledgeValuesConditionalDecorator
Checks certain knowledge value to conditionally enter the node.
Inheritance
BehaviorTreeKnowledgeValuesConditionalDecorator
Inherited Members
BehaviorTreeKnowledgeValuesConditionalDecorator
BehaviorTreeKnowledgeValuesConditionalDecorator
BehaviorTreeKnowledgeValuesConditionalDecorator
BehaviorTreeKnowledgeValuesConditionalDecorator
Assembly: FlaxEngine.dll
File: Engine/AI/BehaviorTreeNodes.h
Syntax
public class BehaviorTreeKnowledgeValuesConditionalDecorator : public BehaviorTreeDecorator
Methods
CanUpdate(const BehaviorUpdateContext& context)
Checks if the node can be updated (eg. decorator can block it depending on the gameplay conditions or its state).
Declaration
public virtual bool CanUpdate(const BehaviorUpdateContext& context) override
Parameters
Behavior Behavior update context data. |
Returns
bool
True if can update, otherwise false to block it. |
Overrides
BehaviorTreeDecorator.CanUpdate(const BehaviorUpdateContext &)