1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Fix how scripts reload outside of ScriptEditor

This commit is contained in:
Paul Joannon
2024-03-07 20:19:05 +01:00
parent aef11a1427
commit 63674648fb
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