Peashooters
This commit is contained in:
parent
161f87da75
commit
68cfe89f1d
47 changed files with 1571 additions and 279 deletions
5
scripts/components/zombie_death_handler.gd
Normal file
5
scripts/components/zombie_death_handler.gd
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
extends Node
|
||||
|
||||
func _on_animation_tree_animation_finished(anim_name: StringName) -> void:
|
||||
if anim_name.split("/")[1] == "death":
|
||||
get_parent().deconstruct()
|
||||
Loading…
Add table
Add a link
Reference in a new issue