소스 검색

Merge pull request #49349 from SirQuartz/patch-5

Amend the quit() method description in `SceneTree` to include an exception for iOS
Rémi Verschelde 4 년 전
부모
커밋
9ddc19d8bd
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      doc/classes/SceneTree.xml

+ 1 - 0
doc/classes/SceneTree.xml

@@ -207,6 +207,7 @@
 				Quits the application at the end of the current iteration. Argument [code]exit_code[/code] can optionally be given (defaulting to 0) to customize the exit status code.
 				By convention, an exit code of [code]0[/code] indicates success whereas a non-zero exit code indicates an error.
 				For portability reasons, the exit code should be set between 0 and 125 (inclusive).
+				[b]Note:[/b] On iOS this method doesn't work. Instead, as recommended by the iOS Human Interface Guidelines, the user is expected to close apps via the Home button.
 			</description>
 		</method>
 		<method name="reload_current_scene">