Browse Source

Merge pull request #6881 from timothyqiu/autoload

Fix Autoload capitalization inconsistency
Yuri Sizov 2 years ago
parent
commit
92f539dce2

+ 1 - 1
tutorials/plugins/running_code_in_the_editor.rst

@@ -233,7 +233,7 @@ Add and export a variable speed to the script. The function set_speed after
     Code from other nodes doesn't run in the editor. Your access to other nodes
     Code from other nodes doesn't run in the editor. Your access to other nodes
     is limited. You can access the tree and nodes, and their default properties,
     is limited. You can access the tree and nodes, and their default properties,
     but you can't access user variables. If you want to do so, other nodes have
     but you can't access user variables. If you want to do so, other nodes have
-    to run in the editor too. AutoLoad nodes cannot be accessed in the editor at
+    to run in the editor too. Autoload nodes cannot be accessed in the editor at
     all.
     all.
 
 
 Reporting node configuration warnings
 Reporting node configuration warnings

+ 1 - 1
tutorials/scripting/scene_unique_nodes.rst

@@ -85,7 +85,7 @@ some situations where other techniques may be better.
 A :ref:`Group <doc_groups>` allows locating a node (or a group of many nodes)
 A :ref:`Group <doc_groups>` allows locating a node (or a group of many nodes)
 from any other node, no matter what scene the two nodes are located in.
 from any other node, no matter what scene the two nodes are located in.
 
 
-A :ref:`Singleton (AutoLoad) <doc_singletons_autoload>` is an always loaded node
+A :ref:`Singleton (Autoload) <doc_singletons_autoload>` is an always loaded node
 that can be accessed directly by any node regardless of the scene. These are useful
 that can be accessed directly by any node regardless of the scene. These are useful
 when some data or functionality is shared globally.
 when some data or functionality is shared globally.
 
 

+ 6 - 6
tutorials/scripting/singletons_autoload.rst

@@ -1,6 +1,6 @@
 .. _doc_singletons_autoload:
 .. _doc_singletons_autoload:
 
 
-Singletons (AutoLoad)
+Singletons (Autoload)
 =====================
 =====================
 
 
 Introduction
 Introduction
@@ -37,7 +37,7 @@ Autoloading nodes and scripts can give us these characteristics.
 
 
 .. note::
 .. note::
 
 
-    Godot won't make an AutoLoad a "true" singleton as per the singleton design
+    Godot won't make an Autoload a "true" singleton as per the singleton design
     pattern. It may still be instanced more than once by the user if desired.
     pattern. It may still be instanced more than once by the user if desired.
 
 
 .. tip::
 .. tip::
@@ -46,10 +46,10 @@ Autoloading nodes and scripts can give us these characteristics.
     :ref:`registering it automatically in the Project Settings <doc_making_plugins_autoload>`
     :ref:`registering it automatically in the Project Settings <doc_making_plugins_autoload>`
     when the plugin is enabled.
     when the plugin is enabled.
 
 
-AutoLoad
+Autoload
 --------
 --------
 
 
-You can create an AutoLoad to load a scene or a script that inherits from
+You can create an Autoload to load a scene or a script that inherits from
 :ref:`class_Node`.
 :ref:`class_Node`.
 
 
 .. note::
 .. note::
@@ -61,7 +61,7 @@ You can create an AutoLoad to load a scene or a script that inherits from
 .. image:: img/singleton.webp
 .. image:: img/singleton.webp
 
 
 To autoload a scene or script, select **Project > Project Settings** from the
 To autoload a scene or script, select **Project > Project Settings** from the
-menu and switch to the **AutoLoad** tab.
+menu and switch to the **Autoload** tab.
 
 
 .. image:: img/autoload_tab.webp
 .. image:: img/autoload_tab.webp
 
 
@@ -136,7 +136,7 @@ Make sure it inherits from ``Node``:
 .. image:: img/autoload_script.webp
 .. image:: img/autoload_script.webp
 
 
 The next step is to add this script to the autoLoad list. Open
 The next step is to add this script to the autoLoad list. Open
-**Project > Project Settings** from the menu, switch to the **AutoLoad** tab and
+**Project > Project Settings** from the menu, switch to the **Autoload** tab and
 select the script by clicking the browse button or typing its path:
 select the script by clicking the browse button or typing its path:
 ``res://global.gd``. Press **Add** to add it to the autoload list:
 ``res://global.gd``. Press **Add** to add it to the autoload list: