summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2022-12-25 15:08:32 +0100
committerkobewi <kobewi4e@gmail.com>2023-01-16 10:16:30 +0100
commit6444c7d1271e1dfa589edb7bb8a9f4cf181909ad (patch)
treec16202ebf03424dd014b0e68dadd3b4ed42b5af3 /doc/classes
parent0f0b853c988f2c3ff322d8eaf97dd4f8d5de46c8 (diff)
Move global script class cache to separate file
Diffstat (limited to 'doc/classes')
-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 0a34faecd0..5416468ab6 100644
--- a/doc/classes/Variant.xml
+++ b/doc/classes/Variant.xml
@@ -38,7 +38,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 need to dig deeply into a hidden ProjectSettings setting: an Array of Dictionaries called "_global_script_classes".
+ # To fetch that value, you can parse the [code]res://.godot/global_script_class_cache.cfg[/code] file with the [ConfigFile] API.
# Open your project.godot file to see it up close.
[/gdscript]
[csharp]