8 lines
181 B
GDScript
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)
|