Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Does TextCore support gradient text?

Discussion in 'UI Toolkit' started by Baldrekr, Oct 16, 2021.

  1. Baldrekr

    Baldrekr

    Joined:
    Jul 15, 2018
    Posts:
    12
    I'd like to have combat text that is a gradient between two colors. This is supported by TMPro.

    I can see that UITK Text Settings has a "Color Gradient Presets" directory, and I can also Assets->Create->Text->Color Gradient. However, there is no way to specify the gradient for a Label (VisualElement), nor can I find anything in the Label.text.style (IStyle) to set one via code.