Prechádzať zdrojové kódy

doc: Update iOS hint for Input.vibrate_handheld after #60397

Rémi Verschelde 3 rokov pred
rodič
commit
74ae1ec545
1 zmenil súbory, kde vykonal 2 pridanie a 1 odobranie
  1. 2 1
      doc/classes/Input.xml

+ 2 - 1
doc/classes/Input.xml

@@ -376,7 +376,8 @@
 			<argument index="0" name="duration_ms" type="int" default="500" />
 			<argument index="0" name="duration_ms" type="int" default="500" />
 			<description>
 			<description>
 				Vibrate Android and iOS devices.
 				Vibrate Android and iOS devices.
-				[b]Note:[/b] It needs [code]VIBRATE[/code] permission for Android at export settings. iOS does not support duration.
+				[b]Note:[/b] For Android, it requires enabling the [code]VIBRATE[/code] permission in the export preset.
+				[b]Note:[/b] For iOS, specifying the duration is supported in iOS 13 and later.
 			</description>
 			</description>
 		</method>
 		</method>
 		<method name="warp_mouse">
 		<method name="warp_mouse">