the-crypt/script/ItemPickup.gd
2020-07-18 15:58:23 -05:00

8 lines
119 B
GDScript

extends Area2D
class_name Collectable
export var Item: PackedScene
func _on_Area2D_body_entered(body):
queue_free()