Skip to content

IvanMurzak/Unity-Gyroscope-Manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unity-Gyroscope-Manager

npm openupm License Stand With Ukraine

Unity Gyroscope manager. Base package for helpful Gyroscope tools. Such as Unity-Gyroscope-Parallax.

Features

  • ✔️ support legacy Input System
  • ✔️ support new Input System
  • ✔️ ability to simulate gyroscope in Unity Editor

image

How to install - Option 1 (RECOMMENDED)

  • Install OpenUPM-CLI
  • Open command line in Unity project folder
  • openupm add extensions.unity.gyroscope.manager

How to install - Option 2

  • Add this code to /Packages/manifest.json
{
  "dependencies": {
    "extensions.unity.gyroscope.manager": "1.2.6",
  },
  "scopedRegistries": [
    {
      "name": "package.openupm.com",
      "url": "https://package.openupm.com",
      "scopes": [
        "extensions.unity"
      ]
    }
  ]
}

How to use Fake Gyroscope

  • Create empty gameobject and add Gyroscope component on it
  • Activate Use Fake Gyroscope In Editor
  • Press Play button in Unity Editor
  • Change needed values in Gyroscope component.

About

Unity Gyroscope manager. Base package for helpful Gyroscope tools.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project