UBTNode::OnInstanceDestroyed

Called when node instance is removed from tree

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

References

Module

AIModule

Header

/Engine/Source/Runtime/AIModule/Classes/BehaviorTree/BTNode.h

Include

#include "BehaviorTree/BTNode.h"

Source

/Engine/Source/Runtime/AIModule/Private/BehaviorTree/BTNode.cpp

Syntax

virtual void OnInstanceDestroyed
(
    UBehaviorTreeComponent & OwnerComp
)

Remarks

Called when node instance is removed from tree