summaryrefslogtreecommitdiff
path: root/demos/misc/autoload/scene_b.gd
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-12-09 09:10:00 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-12-09 09:10:00 -0300
commitaadced2f72476f637c6c14e48d3811e088eda951 (patch)
tree34df51f29d92225f28dcdfc495b8796ae7430ceb /demos/misc/autoload/scene_b.gd
parent6bc6b8fcf24bdfcae4a990054c9077e1bc5a87e5 (diff)
parentdb9da152765357c5e484792fc5e31a25acbc7616 (diff)
Merge branch 'master' of https://github.com/godotengine/godot
Diffstat (limited to 'demos/misc/autoload/scene_b.gd')
-rw-r--r--demos/misc/autoload/scene_b.gd7
1 files changed, 3 insertions, 4 deletions
diff --git a/demos/misc/autoload/scene_b.gd b/demos/misc/autoload/scene_b.gd
index 4a88fddda9..fdf2287a04 100644
--- a/demos/misc/autoload/scene_b.gd
+++ b/demos/misc/autoload/scene_b.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_a.scn")
- pass # replace with function body
+ pass # Replace with function body