Hi,
I'm actually having two different bugs with the TypeWriterEffect script:
- If a UILabel.text ends with a color or another encoding tag (for example "How you doing [FF0000]dude ?[-]"), the OnFinished callbacks from the TypeWriterEffect won't be called. Adding any other character after "[-]" fix this issue, but that's kind of dirty.
- Having keepFullDimensions to true, and some encoding tags in a UILabel (color, bold, etc...) can mess up the UILabel final display. It could untimely insert \n.
For example, let's say I have this text ("Hi, my name is chanhpomme, nice to meet you ngui fellows").
If I display it in a UILabel with a TypeWriterEffect, it would be finally displayed like so :
Hi, my name
is chanhpomme,
nice to meet you ngui fellows
But if I add some colors to this same text ("Hi, my name is [FF00FF]chanhpomme[-], nice to meet you ngui fellows"),
and display it in a UILabel with a TypeWriterEffect, it would be finally displayed like so (but "chanhpomme" would be colored) :
chanhpomme, nice to meet you ngui fellows
I'm working on fixing these bugs myself, but does anybody have already seen these bugs and have some fixes ?
Thanks.