Over 11,000 five-star assets
Rated by 85,000+ customers
Supported by 100,000+ forum members
Every asset moderated by Unity
1/4
This Unity script package, SK_DeviceSensor, enables seamless integration of gyroscope and accelerometer data into WebGL builds.
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity Version | Built-in | URP | HDRP |
---|---|---|---|
2022.3.8f1 | Compatible | Compatible | Compatible |
Additional compatibility information
Can be tested in unity editor, but requried WebGL build.
Description
This code package provides a Unity script, SK_DeviceSensor, designed to facilitate the integration of gyroscope and accelerometer data into Unity projects, specifically tailored for WebGL builds. The package includes functionality to start and stop listeners for both gyroscope and accelerometer events.
Key Features:
- Gyroscope Integration: Start and stop listeners for gyroscope data.
Conversion methods to translate gyroscope readings into Quaternion rotations. - Accelerometer Integration: Start and stop listeners for accelerometer data.
Conversion methods to process accelerometer readings and rotations. - Ease of Use:Simple static mStart and stop listeners for accelerometer data. Conversion methods to process accelerometer readings and rotations eObject in the Unity scene.
Technical details
Related keywords
License agreement
Standard Unity Asset Store EULALicense type
File size
77.3 KB
Latest version
1.0
Latest release date
Feb 12, 2024
Original Unity version
2022.3.8
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Language
Feedback
Partners Program
PartnersUSD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR