You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Merge pull request #71687 from reduz/support-script-class-name-in-efs
Support script global resource name in EditorFileSystem
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user