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 add extensions.unity.gyroscope.parallax
- Add this code to
/Packages/manifest.json
{
"dependencies": {
"extensions.unity.gyroscope.parallax": "1.4.1",
},
"scopedRegistries": [
{
"name": "package.openupm.com",
"url": "https://package.openupm.com",
"scopes": [
"extensions.unity",
"com.cysharp",
"com.neuecc"
]
}
]
}