Forum rules - please read before posting.

"Already Chosen" Color/Styling for Text Mesh Pro Texts in Conversations - How to?

For already chosen options in Conversations I can set an "already chosen" color as well as an "already chosen" highlight.
The highlight works in game, but the defined color isn't applied to the text.

I guess that's because I am using Unity UI with Text Mesh Pro, and maybe I should use a whole different Font Style for already chosen options? But I don't know how in combination with Adventure Creator.

It would be really nice if I could grey out already selected text options in those conversation menus.

How could I do this? Or how else could I accomplish this with TMP?

Comments

  • When using Unity UI (TMPro or otherwise), the "Already chosen" colour is applied to the Button's Normal Color, used when its Transition is set to Color Tint.

    What object ultimately gets affected is down to the Button's "Target" field - it could be the Text, or a background Image component.

    More custom styling is possible with the use of a custom script to read each Button's associated Dialogue Option's hasBeenChosen property. If you can share details on what effect exactly you'd like to apply, I may be able to provide an example script.

  • edited October 2024

    I never noticed you could set a text as target instead of an image. Wow. Thanks, I just learnt something new! :o - this is exactly what I was looking for.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.