1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-19 14:31:59 +00:00

[Editor] Add EditorPlugin::scene_saved signal (3.x backport)

Matches the `EditorNode` one for parity with the exposed
`resource_saved` signal

3.x backport: Adjusted documentation slightly, backported to 3.x branch

Co-authored-by: t20kdc <asdd2808@gmail.com>
This commit is contained in:
A Thousand Ships
2024-01-18 13:06:48 +01:00
committed by t20kdc
parent 36a01852a7
commit 45d1948b64
6 changed files with 22 additions and 1 deletions

View File

@@ -518,6 +518,7 @@
<signal name="resource_saved">
<argument index="0" name="resource" type="Resource" />
<description>
Emitted when the given [code]resource[/code] was saved on disc. See also [signal scene_saved], which is used for edited scenes instead of this signal. The [PackedScene] does not count as a saved resource.
</description>
</signal>
<signal name="scene_changed">
@@ -529,7 +530,13 @@
<signal name="scene_closed">
<argument index="0" name="filepath" type="String" />
<description>
Emitted when user closes a scene. The argument is file path to a closed scene.
Emitted when user closes a scene. The argument is a file path to the closed scene.
</description>
</signal>
<signal name="scene_saved">
<argument index="0" name="filepath" type="String" />
<description>
Emitted when a scene was saved on disc. The argument is a file path to the saved scene. See also [signal resource_saved], used for other resources.
</description>
</signal>
</signals>