C# GetButton and GetKey in Unity! – Beginner Scripting Tutorial
Watch this video in context on Unity Learn:
https://learn.unity.com/tutorial/getbutton-and-getkey
How to get button or key for input and how these axes behave / can be modified with the Input manager