Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: nugao on September 22, 2013, 02:57:56 AM
Title:
[Script]There's a bug in 'UIToggledObjects'
Post by:
nugao
on
September 22, 2013, 02:57:56 AM
Hello, I found a bug in UIToggledObjects.
public
void
Toggle
(
)
{
if
(
enabled
)
{
for
(
int
i
=
0
;
i
<
activate
.
Count
;
++
i
)
Set
(
activate
[
i
]
, UIToggle
.
current
.
value
)
;
for
(
int
i
=
0
;
i
<
deactivate
.
Count
;
++
i
)
Set
(
activate
[
i
]
,
!
UIToggle
.
current
.
value
)
;
// this line
}
}
Title:
Re: [Script]There's a bug in 'UIToggledObjects'
Post by:
ArenMook
on
September 22, 2013, 03:22:51 AM
Thanks! I will fix it.