I need to know the refresh rate of the different available sensors.
How can you know (by script) the refresh rate of a sensor (for example, the gyroscope) of Android (or ios) in Unity??
Gyroscope: gyro.updateInterval or
1.0f / gyro.updateInterval; if you need it in Hz
Accelerometer: on IOS it is set in the editor Project settings/Player/Other settings/accelerometerFrequency, as for android I haven’t found a clear answer but this page suggests 60 Hz: “Put simply, Unity samples the hardware at a frequency of 60Hz and stores the result into the variable” (at the bottom of the page)