Search found 14 matches
- Mon Sep 06, 2021 1:53 am
- Forum: Dialogue System for Unity
- Topic: [SOLVED] Subtitle text colour resetting after being changed
- Replies: 21
- Views: 2283
Re: Subtitle text colour resetting after being changed
Sorry I've been so late in replying, we had some big deadlines I had to prepare for so dialogue became a low-priority concern. Just updated my project with the Subtitle UI Panel subclass, and it worked a treat! Now subtitle colours change (and stay changed) just as they are supposed to, and I no lon...
- Sun Aug 15, 2021 11:35 pm
- Forum: Dialogue System for Unity
- Topic: [SOLVED] Subtitle text colour resetting after being changed
- Replies: 21
- Views: 2283
Re: Subtitle text colour resetting after being changed
Hi, Sorry, I've no idea how I forgot this. StandardUISubttilePanel does record the original text color and then reapply it with every line. It does this in case a previous line has used an [em#] emphasis tag to change the color. The original color is in the protected property originalColor . To cha...
- Thu Aug 12, 2021 10:21 pm
- Forum: Dialogue System for Unity
- Topic: [SOLVED] Subtitle text colour resetting after being changed
- Replies: 21
- Views: 2283
Re: Subtitle text colour resetting after being changed
The light theme should set the text to a dark color, but the <color=#f5f5f5ff> tag is light gray (almost white). Anyway, if you're using ActorSubtitleColor, you'll want to call the panel's SetContent() after updating the ActorSubtitleColor's color, so maybe you're taking the best approach right now...
- Thu Aug 12, 2021 9:23 pm
- Forum: Dialogue System for Unity
- Topic: [SOLVED] Subtitle text colour resetting after being changed
- Replies: 21
- Views: 2283
Re: Subtitle text colour resetting after being changed
Looking more closely at the video, I can see that the TextMeshProUGUI's Text property is wrapped in <color=#f5f5f5>, which is basically white. I'm not sure where that <color> tag is coming from. But when you switch to the Light Theme, you'll want to get rid of it. That <color> tag is coming from th...
- Thu Aug 12, 2021 12:07 am
- Forum: Dialogue System for Unity
- Topic: [SOLVED] Subtitle text colour resetting after being changed
- Replies: 21
- Views: 2283
Re: Subtitle text colour resetting after being changed
Please open your dialogue database in the Dialogue Editor. In the Database section, what is the value of Database Properties > Emphasis Settings > Emphasis Setting 1 > Color? If it's set to white, what happens if you change it to a different color? Are you using emphasis markup tags (e.g., [em1])? ...
- Tue Aug 10, 2021 10:33 pm
- Forum: Dialogue System for Unity
- Topic: [SOLVED] Subtitle text colour resetting after being changed
- Replies: 21
- Views: 2283
Re: Subtitle text colour resetting after being changed
Uploaded a video for you to see what's going on in the Subtitle Text object:
https://drive.google.com/file/d/1raHaBa ... sp=sharing
https://drive.google.com/file/d/1raHaBa ... sp=sharing
- Tue Aug 10, 2021 10:20 pm
- Forum: Dialogue System for Unity
- Topic: [SOLVED] Subtitle text colour resetting after being changed
- Replies: 21
- Views: 2283
Re: Subtitle text colour resetting after being changed
When you change colors, can you also change the colors of the dialogue UI's Subtitle Text GameObjects? This should take care of the current line. I can, but it looks like the Actor Subtitle Color component is changing the colour in the body of the text itself using "<color=xxxxxx>" rich t...
- Tue Aug 10, 2021 9:28 pm
- Forum: Dialogue System for Unity
- Topic: [SOLVED] Subtitle text colour resetting after being changed
- Replies: 21
- Views: 2283
Re: Subtitle text colour resetting after being changed
Hi, What do you mean by refreshing a dialogue line? If you want to redisplay a line, it may depend on a few factors, such as whether you've configured the subtitle panel to accumulate text. (You won't want to accumulate text a second time, since that would append another copy of the text right afte...
- Tue Aug 10, 2021 3:58 am
- Forum: Dialogue System for Unity
- Topic: [SOLVED] Subtitle text colour resetting after being changed
- Replies: 21
- Views: 2283
Re: (Bug?) Subtitle text colour resetting after being changed
Hi, Please check the settings of your subtitle panel's Standard UI Subtitle Panel component. There are some options that could affect text color, such as ticking 'Prepend Actor Name' and including rich text color codes in the actor name format string. Also check for extra components on your actor G...
- Mon Aug 09, 2021 4:43 am
- Forum: Dialogue System for Unity
- Topic: [SOLVED] Subtitle text colour resetting after being changed
- Replies: 21
- Views: 2283
Re: (Bug?) Subtitle text colour resetting after being changed
Would it be possible for you to send a reproduction project to tony (at) pixelcrushers.com? Hi Tony, so sorry for the late reply. I'm afraid I can't currently, though I'll try to strip out just the dialogue system bits in a separate Unity project to send along to you when I have time. In the meanti...