1
NGUI 3 Support / Re: Upgraded NGUI to 3.9.0b, controller scheme broken disregarding the submit config
« on: August 01, 2015, 12:51:18 PM »
I'm not sure either, since I already revert to using 3.8.0 so I can't really test.
But last time I tested, NGUI only accept joystick button0 as input, whatever joystick button I put as submitKey1 or submitKey2. Whatever I put in UICamera inspector is ignored.
And scheme changing problem (the 1st, combined by 2nd code lines I posted before) also ignore submitKey1 & submitKey2 if I put keyboard button in them.
The way to replicate them is easy, make UI, set enabled scheme to controller only (or controller & keyboard, I don't think these options even used anymore), disabling touch and mouse, set submitKey1 to Z, submitKey2 to joystick button1; or, whatever input that is 'not' return and joystick button0. Try using those buttons.
In my case (new empty project, only has NGUI 3.9.0b, new scene with 2 button and UIKeyNavigation), those submit buttons don't work. But, if you try pressing joystick button0, the onClick triggered. This is why I think your input procedsing is hardcoded to joystick button0.
But last time I tested, NGUI only accept joystick button0 as input, whatever joystick button I put as submitKey1 or submitKey2. Whatever I put in UICamera inspector is ignored.
And scheme changing problem (the 1st, combined by 2nd code lines I posted before) also ignore submitKey1 & submitKey2 if I put keyboard button in them.
The way to replicate them is easy, make UI, set enabled scheme to controller only (or controller & keyboard, I don't think these options even used anymore), disabling touch and mouse, set submitKey1 to Z, submitKey2 to joystick button1; or, whatever input that is 'not' return and joystick button0. Try using those buttons.
In my case (new empty project, only has NGUI 3.9.0b, new scene with 2 button and UIKeyNavigation), those submit buttons don't work. But, if you try pressing joystick button0, the onClick triggered. This is why I think your input procedsing is hardcoded to joystick button0.
