TowerDefense/bullet_container.gd

9 lines
205 B
GDScript3
Raw Normal View History

2025-06-18 12:19:43 +02:00
extends Node3D
func _ready() -> void:
EventBus.projectile_shooted.connect(_on_EventBus_projectile_shooted)
2025-06-18 12:19:43 +02:00
func _on_EventBus_projectile_shooted(projectile : Projectile) -> void:
add_child(projectile)