- Home /
Text Outline is not working
Hello, i want to display some text with a black outline, but everything i tried either doesn't work like i want or doesn't work at all.
The easiest way to do is ( i assume ) is to simply put the Outline Script onto the Object with the Text-components. In the Unity Manual its explained how to use it. For me it doesn't work at all and i can't seem to find any help with this. Its simply just not working. My text looks just like it did before (without any outline). This is what my object looks like:
Plus: I want to change the transparency of the outline later on in an animation. (My text vanishes and so should the outline) I already tried a few other things, for example the code in this Thread, but when i try to change the color.alpha during an animation, it is just getting ignored ingame for no reason. In the editor it works somehow. So my actual text is gone and the Outline stays ...
Any suggestions?
Answer by chassets · Apr 18, 2016 at 04:02 PM
You can only use outline with UI elements. You are putting it on a TextMesh (3D).
You should use a 3D GUI: Create a new Canvas and set it to WorldSpace and use UI Texts.
Your answer
Follow this Question
Related Questions
HELP with scripting where GUI is involved 2 Answers
Text displays during animation 1 Answer
Text animation not working in play mode 0 Answers
Best way to animate incrementing/decrementing values ? 0 Answers