summaryrefslogtreecommitdiffstats
path: root/doc/classes/EditorSettings.xml
diff options
context:
space:
mode:
authorYuri Sizov <yuris@humnom.net>2023-04-05 17:14:46 +0200
committerYuri Sizov <yuris@humnom.net>2023-04-17 21:59:09 +0200
commit49d7041d34e78bd6295b6a48b7c3fe1e7ba75bbc (patch)
tree8b0388466270fa20d7ab6f890a052ba363d54ed7 /doc/classes/EditorSettings.xml
parent055ee1276f097727d1c0ba3c1c25a12981c20bfa (diff)
downloadredot-engine-49d7041d34e78bd6295b6a48b7c3fe1e7ba75bbc.tar.gz
Decouple EditorInterface from EditorPlugin
- Simplify some includes in the process. - Also exposes EditorInterface.movie_maker_enabled as a property.
Diffstat (limited to 'doc/classes/EditorSettings.xml')
-rw-r--r--doc/classes/EditorSettings.xml2
1 files changed, 1 insertions, 1 deletions
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.