Author Topic: Highlight on selected buttons.  (Read 2717 times)

roberto_sc

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 25
    • View Profile
Highlight on selected buttons.
« on: October 08, 2013, 10:05:09 PM »
I saw this on the tutorial:
Quote
UIButtonColor changes the color of the button when it’s hovered over or pressed on.
Is there something similar for when the button is selected?

I want to implement a menu with buttons that can be selected by pressing arrow keys or tab, and clicked by hitting enter. We got UIButtonKeys that is perfect for that, but I don't really know how to present the visual feedback of the button being selected.

Do I have to use OnSelect and change collors myself?

Thank you!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Highlight on selected buttons.
« Reply #1 on: October 09, 2013, 08:38:39 AM »
UIButton script works with selection as well. Look at the controller menu example for how it works.