Search Unity

Inverted Text

Discussion in 'UGUI & TextMesh Pro' started by JCNG, Oct 11, 2019.

  1. JCNG

    JCNG

    Joined:
    Sep 6, 2013
    Posts:
    41
    Is there a way to create text that looks inverted like the attached image? I not only need to have the text's background color and text color edited but to have it look like that when it's clicked too. Is there any way to do this?

    Thanks in advanced for any help.
     

    Attached Files:

  2. Antistone

    Antistone

    Joined:
    Feb 22, 2014
    Posts:
    2,836
    Can you describe your requirements a bit more? I don't know what you mean by "when it's clicked too".

    Setting the color of a Text or Image component can be done simply by changing its color property. If you need to modify just specific parts of your text, you can use style tags.