Provided is a project containing objects and scripts as well as an example of how to implement game pad controls in your game.
If you just want to assign specific code in your game to buttons on a controller then this will allow you to get going in seconds.
All you need is the controller support scripts provided and one object.
As well as being quick to setup the resources provided will also help you optimise anything triggered by player input in your game.
Everything will be ran from one object and any code assigned to the controller will only be ran once per step instead of exited on a specific event.
On the whole this will help you optimise your game and in some cases may result in more responsive controls.
Game Pad Icon made by Freepik from www.flaticon.com
End User Licence Agreement (EULA).