Update tutorials/scripting/gdscript/gdscript_basics.rst

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
This commit is contained in:
scotmcp
2024-01-31 15:31:11 -05:00
committed by GitHub
parent 83bd5dddc3
commit 0fc05ae44e

View File

@@ -1970,7 +1970,7 @@ function.
Classes as resources
^^^^^^^^^^^^^^^^^^^^
Classes stored as files are treated as type :ref:`GDScript <class_GDScript>`. They
Classes stored as files are treated as :ref:`GDScripts <class_GDScript>`. They
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
class resource is done by calling the ``new`` function on the class object::