This commit is contained in:
2025-01-28 14:35:32 +08:00
parent 9640283964
commit 5a9092adfc
5 changed files with 29 additions and 7 deletions
+6 -1
View File
@@ -7,8 +7,13 @@ func _ready():
# Only setup for bots
if not get_parent().is_in_group("Bots"):
queue_free() # Remove tree if not a bot
return
# Set this tree's actor
actor = get_parent()
enabled = true
# Create root selector
var selector = SelectorComposite.new()
add_child(selector)