[SOLVED] Using color rich text

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
User avatar
Alatriste
Posts: 181
Joined: Wed Nov 11, 2015 5:07 pm
Contact:

[SOLVED] Using color rich text

Post 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!
Last edited by Alatriste on Wed Mar 09, 2016 3:29 am, edited 2 times in total.
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: Using color rich text

Post 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.
User avatar
Alatriste
Posts: 181
Joined: Wed Nov 11, 2015 5:07 pm
Contact:

Re: Using color rich text

Post by Alatriste »

Thanks Tony. I will try that.

Edit: Updating to the latest version fixed the problem!
Post Reply