mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
Fixed Type description from resource to GDScript
This commit is contained in:
committed by
A Thousand Ships
parent
330f58f208
commit
83bd5dddc3
@@ -1970,7 +1970,7 @@ function.
|
||||
Classes as resources
|
||||
^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
Classes stored as files are treated as :ref:`resources <class_Resource>`. They
|
||||
Classes stored as files are treated as type :ref:`GDScript <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::
|
||||
|
||||
Reference in New Issue
Block a user