From 6444c7d1271e1dfa589edb7bb8a9f4cf181909ad Mon Sep 17 00:00:00 2001 From: kobewi Date: Sun, 25 Dec 2022 15:08:32 +0100 Subject: Move global script class cache to separate file --- doc/classes/Variant.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/classes') 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] -- cgit v1.2.3