We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5a63d1d + 62829b5 commit a30fbc5Copy full SHA for a30fbc5
doc/classes/Variant.xml
@@ -42,8 +42,8 @@
42
# Note that Objects are their own special category.
43
# To get the name of the underlying Object type, you need the `get_class()` method.
44
print("foo is a(n) %s" % foo.get_class()) # inject the class name into a formatted string.
45
- # Note also that there is not yet any way to get a script's `class_name` string easily.
46
- # To fetch that value, you can use ProjectSettings.get_global_class_list().
+ # Note that this does not get the script's `class_name` global identifier.
+ # If the `class_name` is needed, use `foo.get_script().get_global_name()` instead.
47
[/gdscript]
48
[csharp]
49
Variant foo = 2;
0 commit comments