少年修仙传客户端代码仓库
client_Wu Xijin
2018-08-16 12db36c3c9a072f8383597a2cba73c908a1a0fba
Utility/UIHelper.cs
@@ -14,6 +14,7 @@
/// <summary>
/// UI辅助类
/// </summary>
[XLua.LuaCallCSharp]
public static class UIHelper
{
    #region UI通用
@@ -372,6 +373,7 @@
    public static readonly Color s_NavyYellow = new Color32(255, 239, 71, 255);
    public static readonly Color s_LightGreen = new Color32(141, 220, 17, 255);
    public static readonly Color s_LightYellow = new Color32(255, 244, 205, 255); //fff4cd
    public static Color GetUIColor(int itemColor, bool bright = false)
    {
        switch (itemColor)
@@ -393,6 +395,7 @@
        }
        return GetUIColor(TextColType.White, bright);
    }
    public static Color GetUIColor(TextColType type, bool bright = false)
    {
        switch (type)