Sensors introduction
Sensors are InputDevice instances that measure environmental characteristics of the device that the content is running on. Unity currently supports sensors on iOS and Android. Android supports a wider range of sensors than iOS.
For a list of platforms that support sensors, refer to Supported devices reference.