Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Feedback Could we have per instance color value for outline and underlay?

Discussion in 'UGUI & TextMesh Pro' started by Thaina, Oct 5, 2021.

  1. Thaina

    Thaina

    Joined:
    Jul 13, 2012
    Posts:
    1,112
    In addition to face color, I wish I could also set the color of other property, at least outline and underlay, per instance of gameobject

    Common used case is to make contrast text. When I have lighter text color I could set darker outline color and vice versa. Another use case is changing color of underlay to match shadow color of the backgroud for example. I might have same text prefab but change color per instance based on background

    But I don't want to duplicate material just for changing outline color, it could be many if I need to make compliment color. It would be better if we could have multiple color setting in the main TMP_Text setting instead