Author Topic: Odd bug and problem with escape  (Read 4282 times)

g1i1ch

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 6
    • View Profile
Odd bug and problem with escape
« on: July 15, 2014, 02:53:41 PM »
I'm using the 2.7 version of NGUI. The bug I'm getting is kinda weird. I have buttons with buttonkeys on and I have a hover transform tween script on them. When I change button by pressing either up or down on the joystick while pressing the confirm button "A" the next button gets stuck in hover. I can keep doing this on all the buttons and they will all be stuck with hover. I don't know if it's been brought up before but it completely breaks the menu.

Now with the escape button. When the user presses the escape button, "B" the whole menu loses focus and breaks. I've searched the forums and the consensus seems to be to use either gamepad only or mouse/touch only. That doesn't work for me since I'm hoping to reach as many platforms as possible. Is there any workaround for this? Is there documentation I can use to manually pick what's selected? Can't I just have it ignore the "B" button?

g1i1ch

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 6
    • View Profile
Re: Odd bug and problem with escape
« Reply #1 on: July 15, 2014, 07:14:47 PM »
Just coming to say that I found my own way to use both mouse and gamepad at once. Just set UICamera.selectedObject = null; when the mouse moves. And manually select the first button when the gamepad is used and selectedObject == null.

But this problem with things getting stuck in hover when pressing a direction and "A" at the same time is still happening and I'm not sure where to look for it. Has anyone experienced this before?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Odd bug and problem with escape
« Reply #2 on: July 15, 2014, 11:27:08 PM »
Please note that the free version of NGUI doesn't come with any kind of support.

g1i1ch

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 6
    • View Profile
Re: Odd bug and problem with escape
« Reply #3 on: July 16, 2014, 01:09:45 PM »
Please note that the free version of NGUI doesn't come with any kind of support.

So... no community help either?  :o

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Odd bug and problem with escape
« Reply #4 on: July 17, 2014, 02:32:12 AM »
If community can help, they can, surely -- I am merely saying that Tasharen does not provide support for the free version.

g1i1ch

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 6
    • View Profile
Re: Odd bug and problem with escape
« Reply #5 on: July 17, 2014, 11:05:00 AM »
If community can help, they can, surely -- I am merely saying that Tasharen does not provide support for the free version.

Okay all good. I'm just wondering if any other users have come across this. Anyone?