godot/demos/misc/autoload/scene_a.gd

18 lines
250 B
GDScript3
Raw Normal View History

2014-02-10 01:10:30 +00:00
extends Panel
# member variables here, example:
# var a=2
# var b="textvar"
func _ready():
# Initalization here
pass
func _on_goto_scene_pressed():
get_node("/root/global").goto_scene("res://scene_b.scn")
pass # replace with function body