A Unity plugin that enables parallax effects based on device gyroscope data. It allows you to create dynamic and immersive experiences by moving UI elements or game objects in response to device orientation changes. Perfect for adding depth and interactivity to your 2D and 3D projects.
Unity Project
Built with Unity 2021.3.45f1 · download the source from GitHub
README
Rendered from GitHubUnity Gyroscope Parallax

Unity Parallax based on gyroscope components. Supported fake gyroscope for simulation in Unity Editor. Alternative version to Unity-Mouse-Parallax.
Features
- ✔️ Add customizable parallax effect based on sensor data
- ✔️ Control object movement & rotation based on gyroscope
- ✔️ Supports both New and Legacy
Input System - ✔️ Embedded gyroscope simulator right into Unity Editor
Stability status
| Unity Version | Editor test | Player test | Build test |
|---|---|---|---|
| 2019.4.40f1 | |||
| 2020.3.48f1 | |||
| 2021.3.45f1 | |||
| 2022.3.62f1 | |||
| 6000.0.58f1 |
Installation
Option 1 - Installer
- ⬇️ 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
Option 2 - OpenUPM-CLI
- ⬇️ Install OpenUPM-CLI
- 📟 Open command line in Unity project folder
openupm add extensions.unity.gyroscope.parallax
Usage
- Add needed
Gyro...component to any GameObject - Link Targets to list of targets
- Press 'Play' button in Unity Editor
- Find
Fake Gyroscope ManagerinDonDestroyOnLoadscene (appears in Play Mode)
- Change XY values of
GravityandAttitudeproperties to simulate gyroscope in Unity Editor
GyroMover2D
Moves list of objects using gyroscope.


GyroRotator2D
Rotates list of objects using gyroscope.


Versions 0
No versions tracked yet.
Dependencies 0
No dependencies.
Changelog 0 releases
No changelog entries yet. Run the admin Changelog & Version Scanner to pull from the repository's CHANGELOG.md.
Comments
No comments yet. Be the first!


Sign in to join the conversation
Sign In