Fix demo API calls
This commit is contained in:
parent
c4c9b5fe09
commit
47ad95b265
|
@ -42,8 +42,8 @@ func _ready() -> void:
|
||||||
|
|
||||||
|
|
||||||
func _physics_process(_delta: float) -> void:
|
func _physics_process(_delta: float) -> void:
|
||||||
var inst: BTTask = bt_player.get_tree_instance()
|
var inst: BTInstance = bt_player.get_bt_instance()
|
||||||
var bt_data: BehaviorTreeData = BehaviorTreeData.create_from_tree_instance(inst)
|
var bt_data: BehaviorTreeData = BehaviorTreeData.create_from_bt_instance(inst)
|
||||||
behavior_tree_view.update_tree(bt_data)
|
behavior_tree_view.update_tree(bt_data)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -257,8 +257,8 @@ anchor_right = 1.0
|
||||||
anchor_bottom = 1.0
|
anchor_bottom = 1.0
|
||||||
offset_left = 4.0
|
offset_left = 4.0
|
||||||
offset_top = 4.0
|
offset_top = 4.0
|
||||||
offset_right = -4.0
|
offset_right = 1020.0
|
||||||
offset_bottom = -4.0
|
offset_bottom = 704.0
|
||||||
grow_horizontal = 2
|
grow_horizontal = 2
|
||||||
grow_vertical = 2
|
grow_vertical = 2
|
||||||
gutters_draw_line_numbers = true
|
gutters_draw_line_numbers = true
|
||||||
|
|
Loading…
Reference in New Issue