diff options
Diffstat (limited to 'editor/editor_plugin.h')
-rw-r--r-- | editor/editor_plugin.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/editor/editor_plugin.h b/editor/editor_plugin.h index 72e21b2f7f..652a1c06da 100644 --- a/editor/editor_plugin.h +++ b/editor/editor_plugin.h @@ -115,6 +115,7 @@ class EditorPlugin : public Node { bool force_draw_over_forwarding_enabled; String last_main_screen_name; + String _dir_cache; protected: static void _bind_methods(); @@ -223,6 +224,10 @@ public: void add_autoload_singleton(const String &p_name, const String &p_path); void remove_autoload_singleton(const String &p_name); + void set_dir_cache(const String &p_dir) { _dir_cache = p_dir; } + String get_dir_cache() { return _dir_cache; } + Ref<ConfigFile> get_config(); + EditorPlugin(); virtual ~EditorPlugin(); }; |