A custom input system that uses both the new and old Unity input systems.
- Features
- Installation
- Usage
This new input system is easy to use and configure, similar to old input system functionality, this is very adaptable and you can customize it
To install this package, follow these steps:
- Donload the latest version
- In Project Window,
Right Click > Import Package > Custom Package
and Select the Input Package - Configure your inputs in
ProjectSettings > Input System
After installing the package, you can use the custom input system in your project. Here are some examples:
using UnityEngine;
public class Example : MonoBehaviour
{
void Update()
{
if (GameInput.GetButtonDown("Jump"))
{
Debug.Log("Jump button pressed");
}
Vector2 move = GameInput.GetAxis("Move");
Debug.Log("Move axis: " + move);
}
}