Unity Input System: Control Schemes

Using the keyboard WASD or arrow keys the cube is blue, turning yellow when using the Xbox controller.
Create a input control scheme and define requirements.
Variable definitions in PlayerInput script.
Initializing variables and _input in PlayerInput script.
Rotate_performed and Rotate_canceled method in PlayerInput script.
Move_performed and Move_canceled method in PlayerInput script.
Movement method within PlayerInput script.
Input debug shows input devices.

--

--

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