A simple wrapper class for Input System(unity)
unity2019 or later
Input System(package)
- 'Padd' wraps the Input System with the feel of Input (old).
- You can see the touch, mouse, pad and keyboard all in the same way.
- Support for key repeat.
- Support for mouse and touch swipes.
- Install Package 'Input System'.
- Copy to 'Assets/'.
Padd.cs
PadInput.cs - Input.GetKeyDown(KeyCode.LeftArrow) -> Padd.NativeKeyDown(Key.LeftArrow)
see more detail (japanese): https://www.create-forever.games/pad-input3/