From 3cdfcb1182402b7d17b98049c350298d833fc859 Mon Sep 17 00:00:00 2001 From: Sara Date: Sat, 14 Mar 2026 14:59:02 +0100 Subject: [PATCH] feat: binding get_behaviour_tree --- behaviour_node.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/behaviour_node.cpp b/behaviour_node.cpp index 3984aa24..19fd1213 100644 --- a/behaviour_node.cpp +++ b/behaviour_node.cpp @@ -7,6 +7,7 @@ void BehaviourNode::_bind_methods() { BIND_ENUM_CONSTANT(Fail); BIND_ENUM_CONSTANT(Running); BIND_ENUM_CONSTANT(Success); + ClassDB::bind_method(D_METHOD("get_behaviour_tree"), &self_type::get_behaviour_tree); } void BehaviourNode::_notification(int what) {