summaryrefslogtreecommitdiffstats
path: root/doc/classes
diff options
context:
space:
mode:
authorHenrique Alves <henriquelalves@gmail.com>2023-05-26 23:23:06 -0300
committerHenrique Lacreta Alves <henriquelalves@gmail.com>2023-07-19 18:05:15 +0300
commit8ef2e3d76c17303eae61d4cd89e6ac972275fe43 (patch)
treea68adb78748f177603a2b1c7e89e5fccf0ddb046 /doc/classes
parent0c2144da908a8223e188d27ed1d31d8248056c78 (diff)
downloadredot-engine-8ef2e3d76c17303eae61d4cd89e6ac972275fe43.tar.gz
Add `save_all_scenes` method to Editor Interface
Update documentation (squash) fix docs (squash) Improve docs
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/EditorInterface.xml10
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/classes/EditorInterface.xml b/doc/classes/EditorInterface.xml
index f8002c260f..06b72fceb7 100644
--- a/doc/classes/EditorInterface.xml
+++ b/doc/classes/EditorInterface.xml
@@ -262,10 +262,16 @@
Restarts the editor. This closes the editor and then opens the same project. If [param save] is [code]true[/code], the project will be saved before restarting.
</description>
</method>
+ <method name="save_all_scenes">
+ <return type="void" />
+ <description>
+ Saves all opened scenes in the editor.
+ </description>
+ </method>
<method name="save_scene">
<return type="int" enum="Error" />
<description>
- Saves the scene. Returns either [constant OK] or [constant ERR_CANT_CREATE].
+ Saves the currently active scene. Returns either [constant OK] or [constant ERR_CANT_CREATE].
</description>
</method>
<method name="save_scene_as">
@@ -273,7 +279,7 @@
<param index="0" name="path" type="String" />
<param index="1" name="with_preview" type="bool" default="true" />
<description>
- Saves the scene as a file at [param path].
+ Saves the currently active scene as a file at [param path].
</description>
</method>
<method name="select_file">