godot/demos/misc/autoload/scene_a.gd

6 lines
105 B
GDScript3
Raw Normal View History

2014-02-10 01:10:30 +00:00
extends Panel
func _on_goto_scene_pressed():
get_node("/root/global").goto_scene("res://scene_b.scn")