7 lines
99 B
GDScript
7 lines
99 B
GDScript
extends Area2D
|
|
|
|
|
|
func _on_body_entered(_body: Node2D) -> void:
|
|
print("Plus 1 coin")
|
|
queue_free()
|