Hello every one !
I'm very new to unity ! I work on text adventures and visual novels, so Dialogue System is a great help for me !
Now my nooby question :
I want each NPC to have a different font color. Is there an easy way to do this and keep the same canvas for all NPC ? Or do I have to make a different DialogueUI for each NPC and use "Override Dialogue UI" component ? (I use the Unity UI Dialogue UI).
My first idea was to custom NPC informations in the "ACTORS" panel of the DIALOGUE EDITOR. But I don't know if it's possible, and if it is, I have no idea how to do this.
Hope it's clear, my english skills are not perfect (but still beter than my developper skills !)
thanks !
[SOLVED] NPC different font color
[SOLVED] NPC different font color
Last edited by Vintehin on Fri Dec 04, 2015 11:06 am, edited 1 time in total.
Re: NPC different font color
Hi,
No need to use "Override Dialogue UI". I'll post a short script here later today. You can add it to your NPCs to set their font color.
No need to use "Override Dialogue UI". I'll post a short script here later today. You can add it to your NPCs to set their font color.
Re: NPC different font color
This package contains a script ActorSubtitleColor.cs: ActorSubtitleColor_2015-12-03.unitypackage that you can add using the menu item Component > Dialogue System > Actor > Actor Subtitle Color. Add the script to your NPC GameObjects and set their colors.
You can also download the package on the Dialogue System Extras page.
You can also download the package on the Dialogue System Extras page.
Re: NPC different font color
Hello Tony,
I've just tried your script, It works great !! Very easy to use !
Thanks a lot for this fast and perfect answer !
I've just tried your script, It works great !! Very easy to use !
Thanks a lot for this fast and perfect answer !
Re: [SOLVED] NPC different font color
Happy to help!