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
Gyroscope
component on it - Activate
Use Fake Gyroscope In Editor
- Press
Play
button in Unity Editor - Change needed values in
Gyroscope
component.