Unity Parallax based on gyroscope components. Supported fake gyroscope for simulation in Unity Editor. Alternative version to Unity-Mouse-Parallax.
- ✔️ support legacy Input System
- ✔️ support new Input System
- ✔️ ability to simulate gyroscope in Unity Editor
- ✔️ move/rotate objects based on gyroscope
- ✔️ ability to add custom controllers
Moves list of objects using gyroscope.
Rotates list of objects using gyroscope.
- Install OpenUPM-CLI
- Open command line in Unity project folder
openupm --registry https://registry.npmjs.org add extensions.unity.gyroscope.parallax
- Add this code to
/Packages/manifest.json
{
"dependencies": {
"extensions.unity.gyroscope.parallax": "1.4.1",
},
"scopedRegistries": [
{
"name": "Unity Extensions",
"url": "https://registry.npmjs.org",
"scopes": [
"extensions.unity"
]
},
{
"name": "NPM",
"url": "https://registry.npmjs.org",
"scopes": [
"com.cysharp",
"com.neuecc"
]
}
]
}