diff options
Diffstat (limited to 'demos/misc/autoload/scene_a.gd')
-rw-r--r-- | demos/misc/autoload/scene_a.gd | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/demos/misc/autoload/scene_a.gd b/demos/misc/autoload/scene_a.gd index 21a6a84eb9..f9c39887b0 100644 --- a/demos/misc/autoload/scene_a.gd +++ b/demos/misc/autoload/scene_a.gd @@ -1,17 +1,16 @@ extends Panel -# member variables here, example: +# 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 + pass # Replace with function body |