Welcome,
Guest
. Please
login
or
register
.
June 12, 2026, 02:23:12 PM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
TypewriterEffect Bug?
« previous
next »
Print
Pages: [
1
]
Author
Topic: TypewriterEffect Bug? (Read 6427 times)
Mistborn
Newbie
Thank You
-Given: 1
-Receive: 0
Posts: 6
TypewriterEffect Bug?
«
on:
July 08, 2015, 06:55:44 AM »
In NGUI 3.8.0, the way I determine whether the typing is finished or not is by checking TypewriterEffect.isActive. But in NGUI 3.9.0b, it never returns true. Is it a bug or not?
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: TypewriterEffect Bug?
«
Reply #1 on:
July 08, 2015, 08:13:43 PM »
Check the statement on line 211. It needs to be this:
// Alpha-based fading
if
(
mCurrentOffset
>=
mFullText
.
Length
)
{
mLabel
.
text
=
mFullText
;
current
=
this
;
EventDelegate
.
Execute
(
onFinished
)
;
current
=
null
;
mActive
=
false
;
}
else
if
(
mFade
.
size
!=
0
)
Logged
Mistborn
Newbie
Thank You
-Given: 1
-Receive: 0
Posts: 6
Re: TypewriterEffect Bug?
«
Reply #2 on:
July 08, 2015, 08:33:09 PM »
Thank you. This workaround does fix it!
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
TypewriterEffect Bug?