File tree Expand file tree Collapse file tree 1 file changed +40
-2
lines changed
Expand file tree Collapse file tree 1 file changed +40
-2
lines changed Original file line number Diff line number Diff line change 1- # UnityModularInputSystem
2- A custom input system that uses the simplicity of old Unity Input System and new contents of new Unity Input System.
1+ # Custom Input System
2+
3+ A custom input system that uses both the new and old Unity input systems.
4+
5+ ## Table of Contents
6+
7+ - Installation
8+ - Usage
9+ - Contributing
10+ - License
11+
12+ ## Installation
13+
14+ To install this package, follow these steps:
15+
16+ 1 . Open Unity and go to ** Window > Package Manager** .
17+ 2 . Click the ** +** button and select ** Add package from git url** and paste ``` https://github.com/AnderSystems/UnityModularInputSystem.git ``` .
18+ 3 . Configure the inputs on ** Project Settings > Input System**
19+
20+ ## Usage
21+
22+ After installing the package, you can use the custom input system in your project. Here are some examples:
23+
24+ ``` csharp
25+ using UnityEngine ;
26+ using UnityEngine .InputSystem ;
27+
28+ public class Example : MonoBehaviour
29+ {
30+ void Update ()
31+ {
32+ if (InputSystem .GetButtonDown (" Jump" ))
33+ {
34+ Debug .Log (" Jump button pressed" );
35+ }
36+
37+ Vector2 move = InputSystem .GetAxis (" Move" );
38+ Debug .Log (" Move axis: " + move );
39+ }
40+ }
You can’t perform that action at this time.
0 commit comments