Page 1 of 1

[SOLVED] Using color rich text

Posted: Tue Mar 08, 2016 4:05 pm
by Alatriste
Hi,

I'm trying to emphasized some words in the dialogue and although I'm making it work, I'm having some problems with the refreshing on the text code to actually represent the dialogue. You can actually see the "raw" code where the <color=blabla is transcript, before the system understands is rich code and show the text correctly. (I'm using a typewriter effect to display the text)

Is there a right order to code this things? Is there something can be done to speed up the process?

Thanks!

Re: Using color rich text

Posted: Tue Mar 08, 2016 4:41 pm
by Tony Li
Hi,

If possible, use Unity UI (not legacy Unity GUI) and the Dialogue System v1.5.9 or higher, preferably the latest version, or at least import the updated Unity UI scripts from the Dialogue System Extras page under "Older Support Packages". The legacy Unity GUI typewriter effect doesn't have all the fanciest features of the Unity UI version such as the RPG Maker-style pause codes. Version 1.5.9 includes the fix for the "raw" code issue you described.

Re: Using color rich text

Posted: Tue Mar 08, 2016 5:12 pm
by Alatriste
Thanks Tony. I will try that.

Edit: Updating to the latest version fixed the problem!