Author Topic: Question Regarding UIKeyBinding in 3+  (Read 2811 times)

dwmurp

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 4
    • View Profile
Question Regarding UIKeyBinding in 3+
« on: February 28, 2014, 06:28:05 PM »
Previous to version 3 the key binding script worked as I would expect. After upgrading when a button is "Pressed" via a bound key the button color changes to the "Hover" color and never changes back unless you hover over the button with the mouse and then hover away. Obviously, I can change this behavior by modifying the UIKeyBinding script directly, but I'm wondering if I'm doing something wrong elsewhere that may be causing this as I wouldn't imagine it's the intended behavior of the script?

Thanks!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Question Regarding UIKeyBinding in 3+
« Reply #1 on: February 28, 2014, 06:33:42 PM »
No it certainly isn't. I'll fix it, thanks.

P.S. You can fix it locally by changing line 106 in UIKeyBinding.cs from:
  1. UICamera.currentScheme = UICamera.ControlScheme.Controller;
to:
  1. UICamera.currentScheme = UICamera.ControlScheme.Touch;

dwmurp

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 4
    • View Profile
Re: Question Regarding UIKeyBinding in 3+
« Reply #2 on: February 28, 2014, 09:22:36 PM »
Thank you, sir! Excellent product and even better customer support.