From 4605865c0b66f92d20a011875e0af18ac6dd90c3 Mon Sep 17 00:00:00 2001 From: Hugo Trentesaux Date: Sun, 20 Aug 2023 17:55:24 +0200 Subject: [PATCH] Update singletons_autoload.rst fix scene name to match zip template --- tutorials/scripting/singletons_autoload.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tutorials/scripting/singletons_autoload.rst b/tutorials/scripting/singletons_autoload.rst index 6bbf3bb57..2df0c9332 100644 --- a/tutorials/scripting/singletons_autoload.rst +++ b/tutorials/scripting/singletons_autoload.rst @@ -262,7 +262,7 @@ Finally, we need to fill the empty callback functions in the two scenes: private void OnButtonPressed() { var global = GetNode("/root/Global"); - global.GotoScene("res://scene_2.tscn"); + global.GotoScene("res://Scene2.tscn"); } and @@ -282,7 +282,7 @@ and private void OnButtonPressed() { var global = GetNode("/root/Global"); - global.GotoScene("res://scene_1.tscn"); + global.GotoScene("res://Scene1.tscn"); } Run the project and test that you can switch between scenes by pressing