From bc4197c636bd2bbf011bf94cd24ebfc7b060f2d7 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期三, 03 九月 2025 20:57:00 +0800
Subject: [PATCH] 117 【武将】武将系统 - 立绘参数
---
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