IvanMurzak / Unity-Gyroscope-Manager

Unity Gyroscope manager. Base package for helpful Gyroscope tools.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

License:MIT License


Languages

Language:C# 82.0%Language:Batchfile 18.0%