Here is a Unity arkanoid tutorial where the paddle is controlled with arrows keys:
if (Input.GetKey(KeyCode.LeftArrow))
...
if (Input.GetKey(KeyCode.RightArrow))
...
Is it possible to change it so it uses a gamepad?
Thanks!
With your permission, GameDev.net uses analytics cookies to understand how people use the platform. You can accept analytics or continue with necessary cookies only. Learn more