소스 검색

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: