mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-03 05:48:42 +03:00
Merge pull request #8265 from Piralein/autoload
fix file casing in singletons_autoload tutorial
This commit is contained in:
@@ -250,7 +250,7 @@ Finally, we need to fill the empty callback functions in the two scenes:
|
||||
.. tabs::
|
||||
.. code-tab:: gdscript GDScript
|
||||
|
||||
# Add to 'Scene1.gd'.
|
||||
# Add to 'scene_1.gd'.
|
||||
|
||||
func _on_button_pressed():
|
||||
Global.goto_scene("res://scene_2.tscn")
|
||||
@@ -270,7 +270,7 @@ and
|
||||
.. tabs::
|
||||
.. code-tab:: gdscript GDScript
|
||||
|
||||
# Add to 'Scene2.gd'.
|
||||
# Add to 'scene_2.gd'.
|
||||
|
||||
func _on_button_pressed():
|
||||
Global.goto_scene("res://scene_1.tscn")
|
||||
|
||||
Reference in New Issue
Block a user