Skip to content

Commit

Permalink
Added OpenUPM instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
yasirkula committed May 14, 2020
1 parent 7bfa03f commit 01ec0db
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,15 @@ SimpleInput is an improvement over Unity's standard **Input** system that allows

## INSTALLATION

There are 4 ways to install this plugin:
There are 5 ways to install this plugin:

- import [SimpleInput.unitypackage](https://github.com/yasirkula/UnitySimpleInput/releases) via *Assets-Import Package*
- clone/[download](https://github.com/yasirkula/UnitySimpleInput/archive/master.zip) this repository and move the *Plugins* folder to your Unity project's *Assets* folder
- import it from [Asset Store](https://assetstore.unity.com/packages/tools/input-management/simple-input-system-113033)
- *(via Package Manager)* add the following line to *Packages/manifest.json*:
- `"com.yasirkula.simpleinput": "https://github.com/yasirkula/UnitySimpleInput.git",`
- *(via [OpenUPM](https://openupm.com))* after installing [openupm-cli](https://github.com/openupm/openupm-cli), run the following command:
- `openupm add com.yasirkula.simpleinput`

## HOW TO

Expand Down
2 changes: 2 additions & 0 deletions Plugins/SimpleInput/Scripts/AxisInputs/Joystick.cs
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ private void OnEnable()

private void OnDisable()
{
OnPointerUp( null );

xAxis.StopTracking();
yAxis.StopTracking();

Expand Down

0 comments on commit 01ec0db

Please sign in to comment.