mtd/Scripts/hitbox.gd

9 lines
120 B
GDScript3
Raw Normal View History

extends CollisionShape3D
class_name Hitbox
signal took_damage(amount)
func damage(amount):
took_damage.emit(amount)