Author Topic: Possible bug with UIButton and UIButtonKeys  (Read 1410 times)

Araugnir

  • Guest
Possible bug with UIButton and UIButtonKeys
« on: February 15, 2013, 09:57:53 AM »
Hi there.

I think I've found a bug with UIButtons and UIButtonKeys. Our UI is going to be controlled entirely with a controller. I made a simple 3D UI test with three buttons connected with UIButtonKeys. If you press and HOLD the accept button (JoystickButton0) and then use the vertical axis, the next button is highlighted but the active button is still the first one. I found that  UICamera.ProcessOthers sends the notification regardless of what buttons are pressed. I think the correct behaviour would be to not allow moving if a button is being pressed.

We have NGUI pro, if a bugfix is released in the repository, would you mind to contact me to download it?

Thank you!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Possible bug with UIButton and UIButtonKeys
« Reply #1 on: February 15, 2013, 02:23:44 PM »
The way it is now makes sense to me, as it lets you drag & drop things.

Araugnir

  • Guest
Re: Possible bug with UIButton and UIButtonKeys
« Reply #2 on: February 18, 2013, 07:25:53 AM »
I see, then I'll make a workaround, since we don't need Drag & Drop.

Thank you :)