Unity New Input System (part 1)

Challenge: Converting Old Input System to New Input System

Understanding and Analyzing the Old Script:

One extremely underrated skill to have as an developer is to learn how to read and understand scripts that aren’t written by yourself. In this situation the client has provided the previous script for this tech demo prototype.

The script using old Input System which needs updating.
The base game is still playable which makes understanding much quicker.

Updating the Input System:

Now that we have a slightly better understanding on how all the scripts are interacting with each other, it is time to start laying the ground works for using the New Input System. First we need to install (if you haven’t so already) the New Input System Package Asset from the Package Manager.

As you can see I have already started to make the Player Movement Input.
In the Interactive Script that the Client provided, there is a Press function and Hold Key function.

--

--

A Designer, an Illustrator and a massive tech geek aspiring to become a professional Unity Developer.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Simon Truong

A Designer, an Illustrator and a massive tech geek aspiring to become a professional Unity Developer.