Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: gyd on September 13, 2016, 10:07:58 AM
Title:
[UICamera] is this a bug? (ProcessOthers)
Post by:
gyd
on
September 13, 2016, 10:07:58 AM
UICamera.cs
line 2225
if
(
!
useMouse
&&
(
key
>=
KeyCode
.
Mouse0
||
key
<=
KeyCode
.
Mouse6
)
)
continue
;
KeyCode.Mouse0 = 323
KeyCode.Mouse6 = 329
(key >= KeyCode.Mouse0 || key <= KeyCode.Mouse6) will always be true
(!useMouse && (key >= KeyCode.Mouse0 || key <= KeyCode.Mouse6)) will always be true when useMouse is false
i think it should be this one
if
(
!
useMouse
&&
(
key
>=
KeyCode
.
Mouse0
&&
key
<=
KeyCode
.
Mouse6
)
)
continue
;
Title:
Re: [UICamera] is this a bug? (ProcessOthers)
Post by:
ArenMook
on
September 13, 2016, 11:16:15 AM
It's already like that in NGUI. What version are you on?
Title:
Re: [UICamera] is this a bug? (ProcessOthers)
Post by:
gyd
on
September 13, 2016, 01:58:58 PM
i think it's 3.9.9
and i checked the changelog of 3.10/3.10.1, i didnt see the log, maybe it's missed?