9 lines
181 B
GDScript3
9 lines
181 B
GDScript3
|
|
extends Node3D
|
||
|
|
|
||
|
|
func _ready() -> void:
|
||
|
|
EventBus.bullet_shooted.connect(_on_EventBus_bullet_shooted)
|
||
|
|
|
||
|
|
|
||
|
|
func _on_EventBus_bullet_shooted(bullet : Bullet) -> void:
|
||
|
|
add_child(bullet)
|