catsnipe / Padd

A simple wrapper class for Input System(unity)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Padd

A simple wrapper class for Input System(unity)

requirement

unity2019 or later
Input System(package)

features

  • '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.

usage

  1. Install Package 'Input System'.
  2. Copy to 'Assets/'.
    Padd.cs
    PadInput.cs
  3. Input.GetKeyDown(KeyCode.LeftArrow) -> Padd.NativeKeyDown(Key.LeftArrow)

see more detail (japanese): https://www.create-forever.games/pad-input3/

About

A simple wrapper class for Input System(unity)

License:Other


Languages

Language:ShaderLab 54.1%Language:C# 36.5%Language:HLSL 9.4%