Expose BehaviorTreeView::clear to GDScript
This commit is contained in:
parent
25c72302ca
commit
3f34e4dde2
|
@ -9,6 +9,12 @@
|
|||
<tutorials>
|
||||
</tutorials>
|
||||
<methods>
|
||||
<method name="clear">
|
||||
<return type="void" />
|
||||
<description>
|
||||
Clears the tree view.
|
||||
</description>
|
||||
</method>
|
||||
<method name="update_tree">
|
||||
<return type="void" />
|
||||
<param index="0" name="behavior_tree_data" type="BehaviorTreeData" />
|
||||
|
|
|
@ -312,6 +312,7 @@ void BehaviorTreeView::_bind_methods() {
|
|||
ClassDB::bind_method(D_METHOD("_draw_failure_status"), &BehaviorTreeView::_draw_failure_status);
|
||||
ClassDB::bind_method(D_METHOD("_item_collapsed"), &BehaviorTreeView::_item_collapsed);
|
||||
ClassDB::bind_method(D_METHOD("update_tree", "behavior_tree_data"), &BehaviorTreeView::update_tree);
|
||||
ClassDB::bind_method(D_METHOD("clear"), &BehaviorTreeView::clear);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("set_update_interval_msec", "interval_msec"), &BehaviorTreeView::set_update_interval_msec);
|
||||
ClassDB::bind_method(D_METHOD("get_update_interval_msec"), &BehaviorTreeView::get_update_interval_msec);
|
||||
|
|
Loading…
Reference in New Issue