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.

Bug EditorGUIUtility.GetBuiltinSkin with non standart Editor Theme

Discussion in 'Immediate Mode GUI (IMGUI)' started by DSivtsov, Oct 10, 2021.

  1. DSivtsov

    DSivtsov

    Joined:
    Feb 20, 2019
    Posts:
    147
    In case if you change the standard Editor Theme (Light) on Dark. The call
    EditorGUIUtility.GetBuiltinSkin(EditorSkin.Inspector)
    are returning the LightSkin, which have the
    standartTextField.normal.textColor=RGBA(0,008, 0,008, 0,008, 1,000)
    (black color) vs standard "white color" for that element in
    DarkSkin=RGBA(0,824, 0,824, 0,824, 1,000)
    , as will be logical.