This package enables you to read gyroscope and accelerometer information provided by your browser. It's designed for mobile browsers and is ideal for VR-like 360 experiences and AR experiences. The package is flexible, easy to use, and includes full source code. Note that this plugin is targeted towards mobile browsers, as only phones typically have a gyroscope/accelerometer.
This package allows you to read gyroscope and accelerometer data transferred from the JavaScript side to the C# side of Unity. It also enables error detection and works on Safari, Chrome, Firefox, Edge, and Opera. However, it requires an HTTPS server for deployment, as HTTP or file:// won't work. For local testing, consider using https-localhost or netlify.





