Question by
shakeearth16 · Nov 30, 2020 at 08:05 AM ·
uitextunity 2d
How to hide specific texts in a dialogue box
Hi, i'm making a dialogue system that reads from a text file with a portrait that changes expressions depending on the context. I'm thinking of putting in a "cue" in the text file to determine which expression to show on the screen. Like #1 for default expressions, 2 for happy, etc. But the problem is the cues will show up on the dialogue box as well.
So, is there a specific code to hide texts specifically in unity like how "\n" is not shown in other languages? Because my other solution to this is making two separate files and scripts for the dialogue and expression cues which will probably add confusion and more problems in the future.
Comment