Welcome,
Guest
. Please
login
or
register
.
April 22, 2026, 05:45:43 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
UIKey Binding - keyboard+mouse selection problem
« previous
next »
Print
Pages:
1
[
2
]
Author
Topic: UIKey Binding - keyboard+mouse selection problem (Read 12646 times)
codejoy
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 10
Re: UIKey Binding - keyboard+mouse selection problem
«
Reply #15 on:
February 21, 2015, 02:00:05 PM »
That's just the thing. Thexample foudoes not work out iofthe box. Was there something else to be done on it? Just opening it up and pressing enter on the options button does nothing
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: UIKey Binding - keyboard+mouse selection problem
«
Reply #16 on:
February 22, 2015, 09:27:48 AM »
Hmm... you're right, that's a bug. I'm going to look into what changed and fix it.
Edit: Replace all instances of:
if
(
UICamera
.
currentTouchID
<
-
1
)
return
;
with:
if
(
UICamera
.
currentTouchID
<
-
1
&&
UICamera
.
currentScheme
!=
UICamera
.
ControlScheme
.
Controller
)
return
;
Logged
codejoy
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 10
Re: UIKey Binding - keyboard+mouse selection problem
«
Reply #17 on:
February 24, 2015, 12:57:17 PM »
Excellent fix this totally worked, opening up a new discussion on a topic related to this example, but for now this totally worked thanks!
Logged
Print
Pages:
1
[
2
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
UIKey Binding - keyboard+mouse selection problem