8 lines
205 B
GDScript
8 lines
205 B
GDScript
extends Node3D
|
|
|
|
func _ready() -> void:
|
|
EventBus.projectile_shooted.connect(_on_EventBus_projectile_shooted)
|
|
|
|
|
|
func _on_EventBus_projectile_shooted(projectile : Projectile) -> void:
|
|
add_child(projectile)
|