mirror of
https://github.com/tonytins/citylimits
synced 2025-05-07 06:54:49 -04:00
8 lines
255 B
GDScript
8 lines
255 B
GDScript
extends BeehaveNode
|
|
|
|
class_name Composite, "../../icons/category_composite.svg"
|
|
|
|
|
|
func _ready():
|
|
if self.get_child_count() < 1:
|
|
push_error("BehaviorTree Error: Composite %s should have at least one child (NodePath: %s)" % [self.name, self.get_path()])
|