OpenUPM Unity Editor Unity Runtime r
Stars License Stand With Ukraine
Unity Parallax based on gyroscope components. Supported fake gyroscope for simulation in Unity Editor. Alternative version to Unity-Mouse-Parallax.
- ✔️ 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
Unity Version | Editor test | Player test | Build test |
---|---|---|---|
2019440f1 | 2019440f1 | 2019440f1 | 2019440f1 |
2020348f1 | 2020348f1 | 2020348f1 | 2020348f1 |
2021345f1 | 2021345f1 | 2021345f1 | 2021345f1 |
2022362f1 | 2022362f1 | 2022362f1 | 2022362f1 |
6000058f1 | 6000058f1 | 6000058f1 | 6000058f1 |
- ⬇️ 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.gyroscope.parallax
- Add needed
Gyro...
component to any GameObject - Link Targets to list of targets
- Press 'Play' button in Unity Editor
- Find
Fake Gyroscope Manager
inDonDestroyOnLoad
scene (appears in Play Mode) image - Change XY values of
Gravity
andAttitude
properties to simulate gyroscope in Unity Editor
Moves list of objects using gyroscope.
Rotates list of objects using gyroscope.