I am currently trying to get my menu’s working with the xbox 360 controllers (D-Pad and A button) but to no avail . My main question is can it be done and if so how could i implement it with an existing menu? Thanks in advance guys
Unity GUI does not support joystick input natively, about as far as you can get is highlighting buttons with joystick axis input. as soon as you need to click on something or click on what is in focus the trail goes cold.
I wrote a custom class to handle this, it supports both horizontal and vertical joystick axis, and button presses.
it’s a little crude as i’m self taught but it works like a charm for navigating my menu’s through joystick input
you can always use
http://unity3d.com/support/documentation/ScriptReference/Input.GetAxisRaw.html
to see if you need to move up and down(or left and right) to the next option.
And check out the input manager to set the controller up
http://unity3d.com/support/documentation/Components/class-InputManager.html
Here is another custom class for handling menus with a joystick. It is very simple to use.