6 lines
136 B
GDScript3
6 lines
136 B
GDScript3
|
extends Node2D
|
||
|
|
||
|
func _on_area_2d_body_entered(body: Node2D) -> void:
|
||
|
if body == Levels.player:
|
||
|
Levels.load_entrypoint("intro_start")
|