2
0
Эх сурвалжийг харах

Merge pull request #21925 from ZodmanPerth/master

Clarification about Input.get_accelerometer() usage
Max Hilbrunner 7 жил өмнө
parent
commit
8a8a5e6c07
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  1. 1 0
      doc/classes/Input.xml

+ 1 - 0
doc/classes/Input.xml

@@ -46,6 +46,7 @@
 			</return>
 			<description>
 				If the device has an accelerometer, this will return the acceleration. Otherwise, it returns an empty [Vector3].
+				Note this method returns an empty [Vector3] when running from the editor even when your device has an accelerometer. You must export your project to a supported device to read values from the accelerometer.
 			</description>
 		</method>
 		<method name="get_action_strength" qualifiers="const">