summaryrefslogtreecommitdiff
path: root/doc/classes/Variant.xml
diff options
context:
space:
mode:
authorYuri Sizov <11782833+YuriSizov@users.noreply.github.com>2023-02-05 15:55:15 +0300
committerGitHub <noreply@github.com>2023-02-05 15:55:15 +0300
commite13e4b7b6df3557a973af525e4c925faf33b55c5 (patch)
treea4c1eb6d13833b6fd42371bd250c761b1bd29a95 /doc/classes/Variant.xml
parent00302860541e9cccc59abd93b930af2a6e6ec360 (diff)
parentd1521933bbfb9d5f9bab4059623e41762e727d6f (diff)
Merge pull request #71665 from bitsawer/expose_global_classes
Expose and document ProjectSettings.get_global_class_list()
Diffstat (limited to 'doc/classes/Variant.xml')
-rw-r--r--doc/classes/Variant.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/Variant.xml b/doc/classes/Variant.xml
index b1ce05888a..390722b7e5 100644
--- a/doc/classes/Variant.xml
+++ b/doc/classes/Variant.xml
@@ -43,7 +43,7 @@
# To get the name of the underlying Object type, you need the `get_class()` method.
print("foo is a(n) %s" % foo.get_class()) # inject the class name into a formatted string.
# Note also that there is not yet any way to get a script's `class_name` string easily.
- # To fetch that value, you can parse the [code]res://.godot/global_script_class_cache.cfg[/code] file with the [ConfigFile] API.
+ # To fetch that value, you can use [member ProjectSettings.get_global_class_list].
# Open your project.godot file to see it up close.
[/gdscript]
[csharp]