Add ScriptEditor::get_unsaved_files

This commit is contained in:
nikitalita
2026-03-18 09:25:26 -07:00
parent 33b487690e
commit 6bf7ca2dbb
3 changed files with 21 additions and 0 deletions
+6
View File
@@ -48,6 +48,12 @@
Returns an array with all [Script] objects which are currently open in editor.
</description>
</method>
<method name="get_unsaved_files" qualifiers="const">
<return type="PackedStringArray" />
<description>
Returns an array of file paths of scripts with unsaved changes open in the editor.
</description>
</method>
<method name="goto_help">
<return type="void" />
<param index="0" name="topic" type="String" />