6 lines
93 B
GDScript
6 lines
93 B
GDScript
extends Area2D
|
|
|
|
func _on_body_entered(body: Node2D) -> void:
|
|
print("+1 Coin")
|
|
queue_free()
|