Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

extensions.unity.gyroscope.parallax

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

extensions.unity.gyroscope.parallax

Unity Parallax based on gyroscope components.

  • 1.4.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

Unity-Gyroscope-Parallax

npm License

Unity Parallax based on gyroscope components. Supported fake gyroscope for simulation in Unity Editor.

Features

  • ✔️ support legacy Input System
  • ✔️ support new Input System
  • ✔️ ability to simulate gyroscope in Unity Editor
  • ✔️ move/rotate objects based on gyroscope
  • ✔️ ability to add custom controllers

unity-gyroscope-parallax-small

GyroMover2D

Moves list of objects using gyroscope.

image image

Unity_WTZrJSE6qY

GyroRotator2D

Rotates list of objects using gyroscope.

image image

Unity_CeUGRyFD5v

How to install

  • Add this code to /Packages/manifest.json
{
  "dependencies": {
    "extensions.unity.gyroscope.parallax": "1.4.1",
  },
  "scopedRegistries": [
    {
      "name": "Unity Extensions",
      "url": "https://registry.npmjs.org",
      "scopes": [
        "extensions.unity"
      ]
    },
    {
      "name": "NPM",
      "url": "https://registry.npmjs.org",
      "scopes": [
        "com.cysharp",
        "com.neuecc"
      ]
    }
  ]
}

How to use

  • add needed Gyro... component to any GameObject
  • link Targets to list of targets
  • press 'Play' button in Unity Editor
  • find Fake Gyroscope Manager in DonDestroyOnLoad scene (appears in Play Mode)
  • image
  • change XY values of Gravity and Attitude properties to simulate gyroscope in Unity Editor

FAQs

Package last updated on 28 Oct 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc