TowerDefense/bullet_container.gd
2025-06-18 12:19:43 +02:00

8 lines
181 B
GDScript

extends Node3D
func _ready() -> void:
EventBus.bullet_shooted.connect(_on_EventBus_bullet_shooted)
func _on_EventBus_bullet_shooted(bullet : Bullet) -> void:
add_child(bullet)