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