mobile/android support
This commit is contained in:
+4
-1
@@ -1,5 +1,8 @@
|
||||
extends Area2D
|
||||
|
||||
func _on_body_entered(body):
|
||||
func collect_coin(body):
|
||||
body.increase_coins()
|
||||
queue_free()
|
||||
|
||||
func _on_body_entered(body):
|
||||
collect_coin(body)
|
||||
|
||||
Reference in New Issue
Block a user