summaryrefslogtreecommitdiff
path: root/demos/misc/autoload
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2015-11-21 13:31:25 +0100
committerRémi Verschelde <rverschelde@gmail.com>2015-12-09 08:39:12 +0100
commit8c4f19e79d3e8ac8bc8c283073dce5ccfbf222b5 (patch)
treec1124b6d4957389006024d1e1baa5de56e207fec /demos/misc/autoload
parent8639cecf4cedd56452b47503be19c44b304cd02f (diff)
Use upper-cased first letter at the start of comment sentences
Diffstat (limited to 'demos/misc/autoload')
-rw-r--r--demos/misc/autoload/global.gd4
-rw-r--r--demos/misc/autoload/scene_a.gd4
-rw-r--r--demos/misc/autoload/scene_b.gd4
3 files changed, 6 insertions, 6 deletions
diff --git a/demos/misc/autoload/global.gd b/demos/misc/autoload/global.gd
index 126cbc0ab7..e094ab9784 100644
--- a/demos/misc/autoload/global.gd
+++ b/demos/misc/autoload/global.gd
@@ -1,6 +1,6 @@
extends Node
-# member variables
+# Member variables
var current_scene = null
@@ -34,7 +34,7 @@ func _deferred_goto_scene(path):
func _ready():
# Get the current scene, the first time.
- # it is always the last child of root,
+ # It is always the last child of root,
# after the autoloaded nodes.
var root = get_tree().get_root()
diff --git a/demos/misc/autoload/scene_a.gd b/demos/misc/autoload/scene_a.gd
index b95ce7dc6e..f9c39887b0 100644
--- a/demos/misc/autoload/scene_a.gd
+++ b/demos/misc/autoload/scene_a.gd
@@ -1,7 +1,7 @@
extends Panel
-# member variables here, example:
+# Member variables here, example:
# var a=2
# var b="textvar"
@@ -13,4 +13,4 @@ func _ready():
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
diff --git a/demos/misc/autoload/scene_b.gd b/demos/misc/autoload/scene_b.gd
index 599058848b..fdf2287a04 100644
--- a/demos/misc/autoload/scene_b.gd
+++ b/demos/misc/autoload/scene_b.gd
@@ -1,7 +1,7 @@
extends Panel
-# member variables here, example:
+# Member variables here, example:
# var a=2
# var b="textvar"
@@ -13,4 +13,4 @@ func _ready():
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