virtualx-engine/demos/misc/scene_changer/scene_a.gd

16 lines
237 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_b.scn")
pass # Replace with function body