Search Unity

Bug Color tag is missing predefined names

Discussion in 'UGUI & TextMesh Pro' started by Demexis, Apr 5, 2023.

  1. Demexis

    Demexis

    Joined:
    Jul 7, 2021
    Posts:
    19
    I changed Unity's version to 2023.2.0a7. After which I noticed that some color names no longer work.

    Here's a quick example:
    Code (CSharp):
    1. Debug.Log("<color=magenta>Magenta?</color>");
    2. Debug.Log("<color=#FF00FF>Magenta</color>");
    3.  
    4. Debug.Log("<color=cyan>Cyan?</color>");
    5. Debug.Log("<color=#00FFFF>Cyan</color>");
    6.  
    7. Debug.Log("<color=white>White</color>");
    8. Debug.Log("<color=red>Red</color>");
    upload_2023-4-5_18-55-30.png