godot/demos/misc/scene_changer/scene_b.gd
2015-05-17 16:33:35 -03:00

18 lines
238 B
GDScript

extends Panel
# member variables here, example:
# var a=2
# var b="textvar"
func _ready():
# Initalization here
pass
func _on_goto_scene_pressed():
get_tree().change_scene("res://scene_a.scn")
pass # replace with function body