31
NGUI 3 Support / Changing colors in a UILabel.text with script no longer works in 3.0.8
« on: January 16, 2014, 07:46:07 PM »
NEVERMIND. I found the solution here: http://www.tasharen.com/forum/index.php?topic=7125.msg33674#msg33674
I just upgraded from 2.7 to 3.0.8 without many problems. There is one left I can't solveā¦
I used to dynamically color my text in script like this:
aUILabel.text = "[00a2ea]I am [00a2ea]Joe"; // "I AM" is red, "Joe" is light Blue
While the color of "Joe" is light blue as expected, "I am" is displayed as black. I can't get it to display in red. What has changed?
I just upgraded from 2.7 to 3.0.8 without many problems. There is one left I can't solveā¦
I used to dynamically color my text in script like this:
aUILabel.text = "[00a2ea]I am [00a2ea]Joe"; // "I AM" is red, "Joe" is light Blue
While the color of "Joe" is light blue as expected, "I am" is displayed as black. I can't get it to display in red. What has changed?