浏览代码

Document that `File.open_compressed()` can only open files saved by Godot

(cherry picked from commit 5f098d6db6da62deb77d6d555ab67d6cb15f80c2)
Hugo Locurcio 4 年之前
父节点
当前提交
c0ccde9752
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      doc/classes/File.xml

+ 1 - 0
doc/classes/File.xml

@@ -255,6 +255,7 @@
 			</argument>
 			<description>
 				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>
 		</method>
 		<method name="open_encrypted">