godot/demos/misc/autoload/scene_a.gd

6 lines
105 B
GDScript

extends Panel
func _on_goto_scene_pressed():
get_node("/root/global").goto_scene("res://scene_b.scn")