From 700b8bda73c2fa078f5159ee1c353dc5d251571d Mon Sep 17 00:00:00 2001 From: Riyyi Date: Sun, 21 Jul 2024 16:00:16 +0000 Subject: [PATCH 1/2] Update "Autoload" navigation to match 4.3 menu The "Project Settings" menu was restructured in 4.3, reflect this in the navigation instructions. --- tutorials/scripting/singletons_autoload.rst | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tutorials/scripting/singletons_autoload.rst b/tutorials/scripting/singletons_autoload.rst index 8fb76e64c..35edf1764 100644 --- a/tutorials/scripting/singletons_autoload.rst +++ b/tutorials/scripting/singletons_autoload.rst @@ -60,8 +60,8 @@ You can create an Autoload to load a scene or a script that inherits from .. image:: img/singleton.webp -To autoload a scene or script, select **Project > Project Settings** from the -menu and switch to the **Autoload** tab. +To autoload a scene or script, start from the menu and navigate to +**Project > Project Settings > Globals > Autoload**. .. image:: img/autoload_tab.webp @@ -145,8 +145,9 @@ Make sure it inherits from ``Node``: .. image:: img/autoload_script.webp -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 +The next step is to add this script to the autoLoad list. + Starting from the menu, open +**Project > Project Settings > Globals > Autoload** and select the script by clicking the browse button or typing its path: ``res://global.gd``. Press **Add** to add it to the autoload list: From f001dcf2d85056cff346530f57c2ea1d36b6ad89 Mon Sep 17 00:00:00 2001 From: Riyyi Date: Sun, 21 Jul 2024 17:02:00 +0000 Subject: [PATCH 2/2] Update alignment Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> --- tutorials/scripting/singletons_autoload.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/scripting/singletons_autoload.rst b/tutorials/scripting/singletons_autoload.rst index 35edf1764..390bc5c85 100644 --- a/tutorials/scripting/singletons_autoload.rst +++ b/tutorials/scripting/singletons_autoload.rst @@ -146,7 +146,7 @@ Make sure it inherits from ``Node``: .. image:: img/autoload_script.webp The next step is to add this script to the autoLoad list. - Starting from the menu, open +Starting from the menu, open **Project > Project Settings > Globals > Autoload** and select the script by clicking the browse button or typing its path: ``res://global.gd``. Press **Add** to add it to the autoload list: