forked from Julian/JuegoClase
10 lines
154 B
GDScript
10 lines
154 B
GDScript
extends Area2D
|
|
|
|
@export var siguienteNivel : String
|
|
|
|
|
|
|
|
func _on_body_entered(body):
|
|
if body is Player:
|
|
get_tree().change_scene_to_file(siguienteNivel)
|