8 lines
129 B
GDScript
8 lines
129 B
GDScript
extends Area2D
|
|
|
|
func _ready():
|
|
pass
|
|
|
|
func _on_Portail_de_fin_body_entered(body):
|
|
if "Joueur" in body.name:
|
|
get_tree().quit()
|