added loading through animation player

This commit is contained in:
Nikolai Fesenko
2025-08-30 18:02:55 +02:00
parent c0cac7919a
commit b4d7680213
6 changed files with 153 additions and 30 deletions

View File

@@ -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()