Merge pull request #71687 from reduz/support-script-class-name-in-efs

Support script global resource name in EditorFileSystem
This commit is contained in:
Rémi Verschelde 2023-01-21 16:54:23 +01:00
commit ebd0b40f6e
No known key found for this signature in database
GPG key ID: C3336907360768E1
17 changed files with 250 additions and 18 deletions

View file

@ -248,6 +248,10 @@ Ref<Script> GDScript::get_base_script() const {
}
}
StringName GDScript::get_global_name() const {
return name;
}
StringName GDScript::get_instance_base_type() const {
if (native.is_valid()) {
return native->get_name();