Author Topic: Losing Focus Whilst Switching Panels  (Read 2455 times)

weejohn

  • Guest
Losing Focus Whilst Switching Panels
« on: April 28, 2013, 02:30:25 PM »
I've been working on NGUI for 3 days straight now...and I'm now bald from pulling out my hair  :)
I'm trying to switch between panels...which only use the UIButtonKeys, not the mouse for input....and everytime i go from menu A to Menu B, the first button is in focus enabling me to navigate the menu, however switch back from B to A there is no focused button so I cannot navigate. I'm probably missing something very simple///please help, the more I try to fix it the worse I make it!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Losing Focus Whilst Switching Panels
« Reply #1 on: April 28, 2013, 04:35:39 PM »
UIButtonKeys has fields for which object gets selection when you use keys: Select on Click, Select on Up, etc. Did you set these? On Click one is what determines what object will get selection when you hit Enter (or A on the controller).