浏览代码

Update file-access.md

Björn Ritzl 5 年之前
父节点
当前提交
9f276a1396
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      docs/en/manuals/file-access.md

+ 2 - 0
docs/en/manuals/file-access.md

@@ -23,6 +23,8 @@ File and folder locations can be divided into three categories:
 ### How to save and load application specific files
 When saving and loading application specific files such as high scores, user settings and game state it is recommended to do so in a location provided by the operating system and intended specifically for this purpose. You can use [`sys.get_save_file()`](https://defold.com/ref/stable/sys/#sys.get_save_file:application_id-file_name) to get the OS specific absolute path to a file. Once you have the absolute path you can use the `sys.*`, `io.*` and `os.*` functions (see above).
 
+[Check the example showing how to use sys.save() and sys.load()](/examples/file/sys_save_load/).
+
 ### How to access files bundled with the application
 You can bundle files with your application in two ways: