NisGab
A tool for generating performant, global bindings for input action assets in Unity's new input system, simplifying input management.

* This page contains affiliate links, meaning we may earn a small commission if you purchase something through them, at no extra cost. $4.99
- Category:
- Tools › Input-management
- Developer:
- Stropheum
- Price:
- $4.99
- Supported Unity Versions:
- 6000.0.32 or higher
- Current Version:
- 1.0
- Download Size:
- 75.30 KB
- Last Update:
- Mar 12, 2025
- Description:
- NisGab is a package designed to simplify input management in Unity projects. It allows users to generate global bindings for input action assets without the need for complex setup and configuration. The package is suitable for both new and experienced developers, and its usage is straightforward.
The package includes a default configured input settings asset, a Unity-generated C# file for event dispatch, and a default input actions asset. It also includes scripts for generating code that binds to input action maps, a lazy-instantiated singleton for convenient event binding, and a directory for generated event bindings.
To use NisGab, simply right-click on the input action asset, select 'Generate Input Action Binding', and the necessary files will be created. To use the input system, enable the desired input action map and bind your input callback to the relevant global event. This can be done using a lambda or a method, and it's recommended to use method-based callbacks for performance and maintainability.
NisGab is designed to improve workflow and reduce the need for boilerplate code, making it a valuable addition to any Unity project. - Technical Details:
- The package includes the following components:
* Config:
+ InputSystem.inputsettings.asset: a default configured input settings asset
+ InputSystemActions.cs: a Unity-generated C# file for event dispatch
+ InputSystemActions.inputactions: a default input actions asset
* Scripts:
+ InputActionGenerator.cs: generates code that binds to input action maps
+ LazySingleton.cs: a lazy-instantiated singleton for convenient event binding
+ Generated(folder): a directory for generated event bindings
* Generated files:
+ InputEvent.cs: the root binding class
+ {MapName}InputActions.cs: generated classes for each input action map
+ Enable{MapName}Input and Disable{MapName}Input methods: enable and disable input action maps - Continue »