Support => NGUI 3 Support => Topic started by: Mistborn on July 08, 2015, 06:55:44 AM
Title: TypewriterEffect Bug?
Post by: Mistborn 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?
Title: Re: TypewriterEffect Bug?
Post by: ArenMook 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;
}
elseif(mFade.size!=0)
Title: Re: TypewriterEffect Bug?
Post by: Mistborn on July 08, 2015, 08:33:09 PM