Unity Parallax based on mouse input. Alternative version to Unity-Gyroscope-Parallax.
- ✔️ support legacy Input System
- ✔️ support new Input System
- ✔️ move/rotate objects based on mouse input
- ✔️ ability to add custom controllers
Full demo video
Unity_93T6QlZNhC.mp4
Moves list of objects using mouse input.
Rotates list of objects using mouse input.
- ⬇️ Download Installer
- 📂 Import installer into Unity project
- You may use double click on the file - Unity will open it
- OR: You may open Unity Editor first, then click on
Assets/Import Package/Custom Package, then choose the file
- ⬇️ Install OpenUPM-CLI
- 📟 Open command line in Unity project folder
openupm add extensions.unity.mouse.parallax- Add this code to
/Packages/manifest.json
{
"dependencies": {
"extensions.unity.mouse.parallax": "1.0.5"
},
"scopedRegistries": [
{
"name": "package.openupm.com",
"url": "https://package.openupm.com",
"scopes": [
"extensions.unity",
"com.cysharp",
"com.ivanmurzak"
]
}
]
}- add needed
Mouse...2Dcomponent to any GameObject - link Targets to list of targets
- press 'Play' button in Unity Editor


