MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / PostUpdate

Method PostUpdate

Source/Engine/AI/BehaviorTreeNodes.cpp:587–593  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

585}
586
587void BehaviorTreeInvertDecorator::PostUpdate(const BehaviorUpdateContext& context, BehaviorUpdateResult& result)
588{
589 if (result == BehaviorUpdateResult::Success)
590 result = BehaviorUpdateResult::Failed;
591 else if (result == BehaviorUpdateResult::Failed)
592 result = BehaviorUpdateResult::Success;
593}
594
595void BehaviorTreeForceSuccessDecorator::PostUpdate(const BehaviorUpdateContext& context, BehaviorUpdateResult& result)
596{

Callers 1

InvokeUpdateMethod · 0.80

Calls 5

BecomeIrrelevantMethod · 0.80
RandRangeFunction · 0.50
MaxFunction · 0.50
SetMethod · 0.45
TryGetMethod · 0.45

Tested by

no test coverage detected