added loading through animation player
This commit is contained in:
@@ -36,9 +36,11 @@ func _on_static_body_3d_input_event(camera: Node, event: InputEvent, event_posit
|
||||
GameManager.bullet_selected.emit(self)
|
||||
|
||||
|
||||
func shoot():
|
||||
func shoot(target):
|
||||
if is_live:
|
||||
print("Ammo was live")
|
||||
else:
|
||||
print("Ammo not live")
|
||||
pass
|
||||
GameManager.bullet_shoot.emit(target)
|
||||
self.queue_free()
|
||||
|
||||
Reference in New Issue
Block a user