Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: will_brett on May 29, 2014, 09:23:53 AM
Title:
Replay typewriter effect each time text is updated
Post by:
will_brett
on
May 29, 2014, 09:23:53 AM
Hi everyone,
How would I go about getting the typewriter effect to replay when the UILabel is updated?
THanks
Title:
Re: Replay typewriter effect each time text is updated
Post by:
ArenMook
on
May 30, 2014, 01:57:28 PM
Just disable it then re-enable it, or add this function to it:
/// <summary>
/// Reset the typewriter effect to the beginning of the label.
/// </summary>
public
void
ResetToBeginning
(
)
{
mReset
=
true
;
}
Title:
Re: Replay typewriter effect each time text is updated
Post by:
will_brett
on
May 30, 2014, 03:31:27 PM
cheers Aren this works perfectly