Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanMurzak authored Feb 9, 2023
1 parent efd5743 commit fc9f930
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Unity-Gyroscope-Parallax
![npm](https://img.shields.io/npm/v/extensions.unity.gyroscope.parallax) ![License](https://img.shields.io/github/license/IvanMurzak/Unity-Gyroscope-Parallax) [![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg)](https://stand-with-ukraine.pp.ua)
![npm](https://img.shields.io/npm/v/extensions.unity.gyroscope.parallax) [![openupm](https://img.shields.io/npm/v/extensions.unity.gyroscope.parallax?label=openupm&registry_uri=https://package.openupm.com)](https://openupm.com/packages/extensions.unity.gyroscope.parallax/) ![License](https://img.shields.io/github/license/IvanMurzak/Unity-Gyroscope-Parallax) [![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg)](https://stand-with-ukraine.pp.ua)

Unity Parallax based on gyroscope components. Supported fake gyroscope for simulation in Unity Editor. Alternative version to [Unity-Mouse-Parallax](https://github.com/IvanMurzak/Unity-Mouse-Parallax).

Expand Down Expand Up @@ -28,12 +28,10 @@ Rotates list of objects using gyroscope.

![Unity_CeUGRyFD5v](https://user-images.githubusercontent.com/9135028/166467361-485a1e2b-f799-4700-ada8-3982e06f2245.gif)



# How to install - Option 1 (RECOMMENDED)
- [Install OpenUPM-CLI](https://github.com/openupm/openupm-cli#installation)
- Open command line in Unity project folder
- `openupm --registry https://registry.npmjs.org add extensions.unity.gyroscope.parallax`
- `openupm add extensions.unity.gyroscope.parallax`

# How to install - Option 2
- Add this code to <code>/Packages/manifest.json</code>
Expand All @@ -44,16 +42,10 @@ Rotates list of objects using gyroscope.
},
"scopedRegistries": [
{
"name": "Unity Extensions",
"url": "https://registry.npmjs.org",
"scopes": [
"extensions.unity"
]
},
{
"name": "NPM",
"url": "https://registry.npmjs.org",
"name": "package.openupm.com",
"url": "https://package.openupm.com",
"scopes": [
"extensions.unity.gyroscope.parallax",
"com.cysharp",
"com.neuecc"
]
Expand Down

0 comments on commit fc9f930

Please sign in to comment.