summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-01-16 12:49:08 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-01-16 12:49:08 +0100
commit5ca6c1f9dbb38722f206bf5e03aab1e09cae526d (patch)
treeb0ff6013604d24211aab17f32ff36ef853f71bbc /doc
parent47689c7d51465641ea045080d4414b40209cdc96 (diff)
parent6444c7d1271e1dfa589edb7bb8a9f4cf181909ad (diff)
Merge pull request #70557 from KoBeWi/class_yeet
Move global script class cache to separate file
Diffstat (limited to 'doc')
-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]