From 12db36c3c9a072f8383597a2cba73c908a1a0fba Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期四, 16 八月 2018 20:13:36 +0800
Subject: [PATCH] 更新lua 基础脚本框架
---
Utility/UIHelper.cs | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/Utility/UIHelper.cs b/Utility/UIHelper.cs
index 409f639..e3e89c8 100644
--- a/Utility/UIHelper.cs
+++ b/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)
--
Gitblit v1.8.0