From 49d7041d34e78bd6295b6a48b7c3fe1e7ba75bbc Mon Sep 17 00:00:00 2001 From: Yuri Sizov Date: Wed, 5 Apr 2023 17:14:46 +0200 Subject: Decouple EditorInterface from EditorPlugin - Simplify some includes in the process. - Also exposes EditorInterface.movie_maker_enabled as a property. --- doc/classes/EditorSettings.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/classes/EditorSettings.xml') diff --git a/doc/classes/EditorSettings.xml b/doc/classes/EditorSettings.xml index 996af71c3b..85d5f7dd55 100644 --- a/doc/classes/EditorSettings.xml +++ b/doc/classes/EditorSettings.xml @@ -9,7 +9,7 @@ Accessing the settings can be done using the following methods, such as: [codeblocks] [gdscript] - var settings = EditorInterface.get_editor_settings() + var settings = get_editor_interface().get_editor_settings() # `settings.set("some/property", 10)` also works as this class overrides `_set()` internally. settings.set_setting("some/property", 10) # `settings.get("some/property")` also works as this class overrides `_get()` internally. -- cgit v1.2.3