Text Color being automatically set

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
7ports
Posts: 16
Joined: Mon Jun 20, 2022 4:08 pm

Text Color being automatically set

Post by 7ports »

Hi Tony,

I've recently been working with a new font and I'm testing some colors to realize that for one actor in particular (happening independent of which UI I use) there's a tag being applied at the start that fixes the color of the text to something specific. I remember setting this up at some point but I cannot seem to find the way to disable it or even where this feature exists. Would you please be able to point me in the right direction? I've included a screenshot of the tag that gets added in case that helps.

Cheers,
Raj
Attachments
text color tag.png
text color tag.png (4.93 KiB) Viewed 226 times
User avatar
Tony Li
Posts: 22112
Joined: Thu Jul 18, 2013 1:27 pm

Re: Text Color being automatically set

Post by Tony Li »

Hi,

Inspect the character's GameObject for a DialogueActor component or an ActorSubtitleColor component. Either of these could set the character's text color. You might also have a custom script with an OnConversationLine() method that sets the text color.
Post Reply