Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

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