Add red/green highlights to debug BT node decorator result

This commit is contained in:
2026-09-24 22:57:06 +02:00
parent d56fdcce57
commit 0d4ea64caa
6 changed files with 39 additions and 2 deletions
+2
View File
@@ -110,5 +110,7 @@ private:
// Editor-only utilities to debug nodes state.
API_FUNCTION(Internal) static bool GetNodeDebugRelevancy(const BehaviorTreeNode* node, const Behavior* behavior);
API_FUNCTION(Internal) static String GetNodeDebugInfo(const BehaviorTreeNode* node, Behavior* behavior);
API_FUNCTION(Internal) static int32 GetDecoratorDebugResult(class BehaviorTreeDecorator* node, Behavior* behavior);
static void InitNodeDebugContext(const BehaviorTreeNode* node, Behavior* behavior, BehaviorUpdateContext& context);
#endif
};