8 lines
97 B
GDScript
8 lines
97 B
GDScript
extends Area2D
|
|
|
|
|
|
|
|
func _on_body_entered(body: Node2D) -> void:
|
|
print("+1 coin!!")
|
|
queue_free()
|