1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-20 14:45:44 +00:00

Merge pull request #89261 from paulloz/core/fix-script-reloading-outside-script-editor

Fix how scripts reload outside of ScriptEditor
This commit is contained in:
Rémi Verschelde
2024-03-24 01:15:23 +01:00
3 changed files with 22 additions and 0 deletions

View File

@@ -125,6 +125,8 @@ protected:
Dictionary _get_script_constant_map();
public:
virtual void reload_from_file() override;
virtual bool can_instantiate() const = 0;
virtual Ref<Script> get_base_script() const = 0; //for script inheritance