- Home /
Controller Setup?
I am setting up a Xbox 360 controller for a 2D game within Unity. My question is how does Unity read the controller inputs? Unity keeps telling me it does read the values as bools because they are float values but I cannot figure out how to see the actual values. Any info would be appreciated!!
Answer by tanoshimi · May 05, 2015 at 09:03 PM
The triggers and sticks you read with GetAxis(). The buttons you read with GetButton(). Configure the settings in your Input Manager as follows: http://wiki.unity3d.com/index.php?title=Xbox360Controller
Your answer
Follow this Question
Related Questions
XInput for controller/gamepad rumble breaks builds (works fine in editor) 0 Answers
different behaviour of axis using xbox360 controller 1 Answer
How to get xBox mapping consistent on mac and pc? 0 Answers
MMD How to export model and animations to Unity as 3rd person controller? 2 Answers
Pad Controller xbox360 - triggers 0 Answers