ソースを参照

Merge pull request #48280 from Calinou/doc-file-open-compressed-godot-only

Document that `File.open_compressed()` can only open files saved by Godot
Rémi Verschelde 4 年 前
コミット
d1801f976f
1 ファイル変更1 行追加0 行削除
  1. 1 0
      doc/classes/File.xml

+ 1 - 0
doc/classes/File.xml

@@ -275,6 +275,7 @@
 			</argument>
 			</argument>
 			<description>
 			<description>
 				Opens a compressed file for reading or writing.
 				Opens a compressed file for reading or writing.
+				[b]Note:[/b] [method open_compressed] can only read files that were saved by Godot, not third-party compression formats. See [url=https://github.com/godotengine/godot/issues/28999]GitHub issue #28999[/url] for a workaround.
 			</description>
 			</description>
 		</method>
 		</method>
 		<method name="open_encrypted">
 		<method name="open_encrypted">