1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-14 13:41:12 +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:
Rémi Verschelde
2023-01-21 16:54:23 +01:00
17 changed files with 250 additions and 18 deletions

View File

@@ -228,6 +228,7 @@ public:
virtual bool can_instantiate() const override;
virtual Ref<Script> get_base_script() const override;
virtual StringName get_global_name() const override;
virtual StringName get_instance_base_type() const override; // this may not work in all scripts, will return empty if so
virtual ScriptInstance *instance_create(Object *p_this) override;