summaryrefslogtreecommitdiff
path: root/core/object/script_language.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-01-21 16:54:23 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-01-21 16:54:23 +0100
commitebd0b40f6ec2c1db17fa0561f5a3403913032c3b (patch)
tree57e6fdab1358325977c1ed326af2ff5ad89d353c /core/object/script_language.h
parent5551eed499efebd97875a7f3fc4ef57fd23e8d1d (diff)
parentdddd8d43f618874642a228800187fb0912c46c20 (diff)
Merge pull request #71687 from reduz/support-script-class-name-in-efs
Support script global resource name in EditorFileSystem
Diffstat (limited to 'core/object/script_language.h')
-rw-r--r--core/object/script_language.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/object/script_language.h b/core/object/script_language.h
index 0c64b079c1..f82b58439f 100644
--- a/core/object/script_language.h
+++ b/core/object/script_language.h
@@ -123,7 +123,7 @@ public:
virtual bool can_instantiate() const = 0;
virtual Ref<Script> get_base_script() const = 0; //for script inheritance
-
+ virtual StringName get_global_name() const = 0;
virtual bool inherits_script(const Ref<Script> &p_script) const = 0;
virtual StringName get_instance_base_type() const = 0; // this may not work in all scripts, will return empty if so