Search Unity

Bug Issue with changing the alpha of a TMP_Text element

Discussion in 'UGUI & TextMesh Pro' started by Master_Bronze_Elite, Dec 26, 2022.

  1. Master_Bronze_Elite

    Master_Bronze_Elite

    Joined:
    Jun 1, 2021
    Posts:
    4
    So I'm trying to assign a color value to a TMP_Text element, but for some reason, the alpha isn't being assigned [the other aspects are: r, g, and b]. Does anyone know how I can copy the alpha value over as well?

    I did some debugging, and apparently, the alpha value is changing but it isn't being reflected in the actual scene/game.

    This is Unity version 2021.3.12f1


     
  2. MelvMay

    MelvMay

    Unity Technologies

    Joined:
    May 24, 2013
    Posts:
    11,500
    This is the 2D forum, it doesn't relate to UI or anything related to that.

    I'll move your post to the UI forum.
     
  3. Master_Bronze_Elite

    Master_Bronze_Elite

    Joined:
    Jun 1, 2021
    Posts:
    4
    Can anyone help with this?
     
  4. Master_Bronze_Elite

    Master_Bronze_Elite

    Joined:
    Jun 1, 2021
    Posts:
    4
  5. Unifikation

    Unifikation

    Joined:
    Jan 4, 2023
    Posts:
    1,087
    Can you describe what you're trying to achieve? Or provide screenshots of the look you're after?

    I know TMP pretty well... but your heavily cropped screenshots of the Editor are baffling.