Back to Browse

Unity3D- Add Controller Support in 5 Minutes With No Coding!

24.0K views
Sep 15, 2019
7:16

UPDATE- This video is outdated now! You can still use this method for the time being with the old UnityEngine.Input API, but that is being replaced with the Input System Package for newer versions of Unity. Maybe there will be a new video when I figure it out myself! Now, the old video description: So, your player controller script has all those calls to Input.GetButton() and Input.GetAxis(), right? Let's set up your game to recognize controllers without touching your script! Here's the controller map I used as reference. Remember that Axes 4 and 5 are swapped! https://answers.unity.com/questions/1350081/xbox-one-controller-mapping-solved.html And follow me for all kinds of game stuff- Twitch: https://twitch.tv/sonofgragas Twitter: https://twitter.com/sonofgragas

Download

1 formats

Video Formats

360pmp414.3 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Unity3D- Add Controller Support in 5 Minutes With No Coding! | NatokHD