Welcome,
Guest
. Please
login
or
register
.
October 29, 2025, 10:39:56 PM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Replay typewriter effect each time text is updated
« previous
next »
Print
Pages: [
1
]
Author
Topic: Replay typewriter effect each time text is updated (Read 3191 times)
will_brett
Newbie
Thank You
-Given: 1
-Receive: 0
Posts: 40
Replay typewriter effect each time text is updated
«
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
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Replay typewriter effect each time text is updated
«
Reply #1 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
;
}
Logged
will_brett
Newbie
Thank You
-Given: 1
-Receive: 0
Posts: 40
Re: Replay typewriter effect each time text is updated
«
Reply #2 on:
May 30, 2014, 03:31:27 PM »
cheers Aren this works perfectly
«
Last Edit: May 30, 2014, 04:44:33 PM by will_brett
»
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Replay typewriter effect each time text is updated