From 168e039cef99df9f0ee91d8ef975c2e7f2a9fb95 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期三, 05 十一月 2025 17:47:33 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts

---
 Main/System/Message/SysNotifyMgr.cs |   16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)

diff --git a/Main/System/Message/SysNotifyMgr.cs b/Main/System/Message/SysNotifyMgr.cs
index 0a2aa82..1e7710e 100644
--- a/Main/System/Message/SysNotifyMgr.cs
+++ b/Main/System/Message/SysNotifyMgr.cs
@@ -149,6 +149,7 @@
         }
     }
 
+    //淇℃伅鎻愮ず琛ㄧ殑鎻愮ず
     public void ShowTip(string key, params object[] msg)
     {
         SysInfoConfig cfg = SysInfoConfig.Get(key);
@@ -159,11 +160,24 @@
             AnalysisSysmsg(cfg);
         }
         else
-        { 
+        {
             Debug.LogError("鏈壘鍒扮郴缁熸彁绀轰俊鎭�: " + key);
         }
     }
 
+    //璇█琛ㄧ殑鎻愮ず
+    public void ShowLangTip(string key, params object[] msg)
+    {
+        string hint = Language.Get(key, msg);
+        ScrollTip.ShowTip(hint);
+    }
+
+    //鐩存帴浼犳枃瀛楃殑鎻愮ず
+    public void ShowStringTip(string hint)
+    {
+        ScrollTip.ShowTip(hint);
+    }
+
     void AnalysisSysmsg(SysInfoConfig cfg)
     {
         SysNotifySound(cfg.sound);

--
Gitblit v1.8.0