Unity Gyroscope manager. Base package for helpful Gyroscope tools. Such as Unity-Gyroscope-Parallax.
- ✔️ support legacy Input System
- ✔️ support new Input System
- ✔️ ability to simulate gyroscope in Unity Editor
- Install OpenUPM-CLI
- Open command line in Unity project folder
openupm add extensions.unity.gyroscope.manager
- Add this code to
/Packages/manifest.json
{
"dependencies": {
"extensions.unity.gyroscope.manager": "1.2.6",
},
"scopedRegistries": [
{
"name": "package.openupm.com",
"url": "https://package.openupm.com",
"scopes": [
"extensions.unity"
]
}
]
}- Create empty gameobject and add
Gyroscopecomponent on it - Activate
Use Fake Gyroscope In Editor - Press
Playbutton in Unity Editor - Change needed values in
Gyroscopecomponent.
