Parcourir la source

Correcting reference link

line 2016 references Class, should reference Resource
scotmcp il y a 1 an
Parent
commit
330f58f208
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      tutorials/scripting/gdscript/gdscript_basics.rst

+ 1 - 1
tutorials/scripting/gdscript/gdscript_basics.rst

@@ -1970,7 +1970,7 @@ function.
 Classes as resources
 Classes as resources
 ^^^^^^^^^^^^^^^^^^^^
 ^^^^^^^^^^^^^^^^^^^^
 
 
-Classes stored as files are treated as :ref:`resources <class_GDScript>`. They
+Classes stored as files are treated as :ref:`resources <class_Resource>`. They
 must be loaded from disk to access them in other classes. This is done using
 must be loaded from disk to access them in other classes. This is done using
 either the ``load`` or ``preload`` functions (see below). Instancing of a loaded
 either the ``load`` or ``preload`` functions (see below). Instancing of a loaded
 class resource is done by calling the ``new`` function on the class object::
 class resource is done by calling the ``new`` function on the class object::