Player Controls with New Input System

Опубликовано: 25 Март 2025
на канале: Omar Santiago
263
10

Omarvision Kids Coding
====================

In Unity use the newer input system to more easily map controls and control a player in a game. In this tutorial I will move a player and jump using the XboxController (Gamepad), WASD, Arrowkeys. I will use the XboxController (Gamepad) A button and the space bar for jumping. The trick here is that with the one mapping in the new input system all these control methods will work on the same player with no extra code. And the mapping is done easily with the listen button in the input action editor window.

Source Code: https://github.com/omarvision/PlayerC...
Playable Demo: simmer.io