added clarification about Input.get_accelerometer only working when project is exported
(cherry picked from commit 91aa940b42
)
This commit is contained in:
parent
4afb9fcf1c
commit
fa43d3b190
|
@ -46,6 +46,7 @@
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
If the device has an accelerometer, this will return the acceleration. Otherwise, it returns an empty [Vector3].
|
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>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="get_connected_joypads">
|
<method name="get_connected_joypads">
|
||||||
|
|
Loading…
Reference in New Issue