• Image
  • Image
  • Image
  • Image
  • Image
  • Current Version: 1.3: 2023-07-31T11:25:13Z
  • First Published: 2020-11-19T23:47:13Z
  • Size: 115504
  • Supported Unity Versions: 2019.4.40
add-ons

Easy New Input System

No rating !(0 Vote)
$19.96 $19.96

Unity's new Input System 1.0.0+ is required for this asset to work, it can be acquired via the Package Manager.



A wrapper for Unity's new Input System that allows you to utilize old Input Manager syntax.



If you found the new Input System to be somewhat difficult to jump into this asset is for you.



The Easy New Input System provides:


bool Input.GetButtonDown(string actionName)


bool Input.GetButtonUp(string actionName)


bool Input.GetButton(string actionName)


float Input.GetAxis(string actionName)


float Input.GetAxisRaw(string actionName)



With the addition of a few new methods because of the incredibly expanded options from the Unity's new Input System:


Vector2 Input.GetVector2(string actionName)


Vector2 Input.GetVector2Raw(string actionName)


Vector3 Input.GetVector3(string actionName)


Vector3 Input.GetVector3Raw(string actionName)


This asset makes it super simple to upgrade a project using Unity's old Input Manager or start a new project using the new Input System a cinch. You can even add this package to a game that is already using the new Input System and clean up your scripts a lot as a result.



After installing the new Input System from the package manager and importing this asset:



- To upgrade an old project you just need to create or modify the Input Action Asset to include all of the controls you have configured in the old Input Manager, open the settings under Edit > Input Wrapper Settings and choose the Input Action Asset. Then you shouldn't need to make any changes to your code.


- To start a new project you just need to create a new Input Action Asset or modify the Input Action Asset included with the project to have the relevant controls. Ensure that the Input Action Asset is selected in the Input Wrapper Settings menu and write your code the same way you always have with the old Input Manager. No new imports anything else required.


- For projects that already have the new Input System in use, you can bring this asset into the project and then you can remove most, if not all, context callback methods in your code as well as any booleans related to keeping track of what button was pressed when, as well as any state resets in your Update or FixedUpdate methods. With this asset it's simple, just poll for when a button is pressed using the above methods.


​Discord for support inquiries: https://discord.gg/pVGHvtcEtW​


Add to cart
This site contains affiliate links, which means that we can receive a commission if you click on a link and buy something that we have recommended.
Although clicking on these links will not cost you anything, they will help us finance our development projects while recommending good products!